Date: Mon, 28 Apr 2014 16:15:42 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org> To: =?ISO-8859-1?Q?Jan_Kokem=FCller?= <jan.kokemueller@gmail.com>, freebsd-x11@freebsd.org Subject: Re: [PATCH] 32 bit compatibility ioctls for radeon driver Message-ID: <535E628E.6070400@FreeBSD.org> In-Reply-To: <53282961.5010404@gmail.com> References: <53282961.5010404@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --32NsBrtiPjRUMDwK0ueRgiUMRF5Bjrj6G Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 18.03.2014 12:09, Jan Kokem=FCller wrote: > I've noticed that the kernel currently pagefaults when trying to run > 32-bit 3D applications under a 64-bit kernel with a Radeon card when > COMPAT_FREEBSD32 is defined. The generic DRM code tries to access the > compat_ioctls_nr and compat_ioctls fields of the drm_driver_info struct= , > but they aren't set by the radeon driver. > I've tried to translate the compatibility ioctls in radeon_ioc32.c from= > the Linux versions to FreeBSD. It seems to work fine with 32-bit > glxgears and some games under Wine. > A patch is attached. Hello Jan! I tried your patch this week-end and I was able to play to StarCraft II on FreeBSD 11-CURRENT :) I committed it to my DRM update branch for now, but will commit it to HEAD and stable/{10,9} as soon as I can. Thank you for your work! --=20 Jean-S=E9bastien P=E9dron --32NsBrtiPjRUMDwK0ueRgiUMRF5Bjrj6G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTXmKTAAoJEDnpl2Gl/ZTMNyMQAI9qUl0Qr65Lvhi4Qr19Y/0C dhx+/TE6Gr0Ew1sSkRlbWEF2JxezbqRAyW2gDE96MOl55ocQmJ6RY287ZwMMhqBG Tu9fXasNY/gi0ALQ2bmVJ/in+vkr8ZHicOz0j7zaTGb9OlHN1SyHQ+zSOuFIH4NJ uBkcO23pWE9RJWE69uvuM1L9n1yDXuLYWg38sPawdhLoYN0OoOLnYRbYGmOPpRMn tD0/Vcvt0LUoK5ocm5KbEgD9Wffe+3docAoWyXqmcUNB1lC+RnBBZkxbbv2sKFbq +YVKFNy7AIAA3kkRYeBQ9oepBCDJ/YX6bmsJ+9McMCnlQDivJEkzfX5scHBCwk7N UCl6kPxds3FExhavlviawpsu9/v2ruCQrdhlXXYyPVyc8oKvYFw4+TtNFEH0quQJ 8ET/dO9KNwHFfRKvIR5rbJwEu1N8nBNkwBs9isWF0T8EG4s86j6lv1YbGepPdNCA YrzmrHDDcLfSH9HHlAeECWJxbCK72mHpxy+qlTeXJDKxdRr0qnZh4XDn1ue3naEk 1FIHeK4yYha26ocMKkb72+KKnsS1h7K5is3DPW7IjdMkZe4aDvwEtu3xS8NPjKop +Pitj799D/sdojwCo7kG/bzKN6r/1lsm2FBiW3YGIKDIRqKCfcS/DJaShlP86c5c ZAbmoHSRMvtOfBIjjkqm =TDie -----END PGP SIGNATURE----- --32NsBrtiPjRUMDwK0ueRgiUMRF5Bjrj6G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535E628E.6070400>