[PATCH xserver] modesetting: Do not use function local static variables

Keith Packard keithp at keithp.com
Wed Aug 31 16:14:41 UTC 2016


Hans de Goede <hdegoede at redhat.com> writes:

> The modesetting driver may be driving 2 screens (slave and master
> gpu), which may have different behavior wrt hardware cursor support.
>
> So stop using static variables and instead store the hw-cursor support
> related data in a per screen struct. While at it actually make it per
> crtc data as in theory different crtc's could have different hw-cursor
> support.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

The things you find if you look long enough...

Reviewed-by: Keith Packard <keithp at keithp.com>
-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160831/9991b79b/attachment.sig>


More information about the xorg-devel mailing list