Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 21:21:13 +0400
From:      "Marat N.Afanasyev" <amarat@li.ru>
To:        =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@freebsd.org>,  =?UTF-8?B?SmFuIEtva2Vtw7xsbGVy?= <jan.kokemueller@gmail.com>,  freebsd-x11@freebsd.org
Subject:   Re: [PATCH] 32 bit compatibility ioctls for radeon driver
Message-ID:  <53CE9D89.8000403@li.ru>
In-Reply-To: <535E628E.6070400@FreeBSD.org>
References:  <53282961.5010404@gmail.com> <535E628E.6070400@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Jean-Sébastien Pédron wrote:
> On 18.03.2014 12:09, Jan Kokemüller 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!
>
any chance to have drm with such a patch? not drm2, but drm?

-- 
SY, Marat


[-- Attachment #2 --]
0	*H
010	+0	*H
i0-0m0
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
130829080313Z
140829193716Z0O10U
IsC164JG3dq5RPEQ10Uamarat@li.ru10	*H
	amarat@li.ru0"0
	*H
0
OTOZo")
Oc3>_m‘.'buު-a>EF!tln>N6\j}KvIJuyck@I:{iͦ]/:[2'nϫ"k4*&P`R}&\00쇒3訵mj!!H9]IP/b2nka3ZrMrKw&҇7I6gZ5\Kʣ~߮fα00	U00U0U%0++0U,Vay'S#0U#0Sr풜\|~5NԸQ0U0amarat@li.ru0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
;QewY}qcC<LӐHX~4)b<%83]2>^Ѝq\)Dq?V^^;
4'|
m6ϒZDDaJ2)h{b=i0^J;RPYlY?)Qt)a}^a,7VZnu.YZ2)9>ye/qXO4Tw[8,Ԍz9^*:@_Ǡ,0{0400
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210155Z
171024210155Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
	*H
0
	-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG.ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN00U00U0USr풜\|~5NԸQ0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
	*H

}x,\c^#wMq}>UK/^yX֏y	frMIŲB61ymQ󸟆ҨݬZ0&;@#13qۑ&	̢o	6r_;GO>*I(	74XS1r3)!LJy6Kotˆ#
_wSr
;B
ADp(fs䰷6%.W0J3:bC<8t X1<Cn=t==wST~\wkBf|15zUP)(IjVB!OfI=bb\4-*em/нSJm7N[]'@ڽD9Kr>R7/|o^I@ټ'Pa$ z9a'L)(
I}vcH]۸D*W}
m>Q|C.(,lQ100010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CAm0	+0	*H
	1	*H
0	*H
	1
140722172113Z0#	*H
	1ǕYJ0_Q0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CAm0*H
	1010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CAm0
	*H
i}yDj-1ڱx3EXYAO
+5첮gJc.eڷ$SDk1|=d^$_r(<3:=*ɹK"`
n58=|y@Y217/E)&U&9!.0~ԙN8f,5[`Q)Y~+Aթ"oDC$#%pHf9f$~1W$Rܭ-Cb^

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53CE9D89.8000403>