[Intel-gfx] [PATCH] Switch suitable directRenderingType checks to have_gem instead
Keith Packard
keithp at keithp.com
Fri Jun 12 09:40:13 CEST 2009
On Fri, 2009-06-12 at 09:23 +0200, Michel Dänzer wrote:
> The DRM_IOCTL_MODESET_CTL ioctl has nothing to do with GEM. It probably
> shouldn't be called with KMS, but maybe i830_modeset_ctl() won't be
> called in that case anyway.
The only kernel API the intel driver supports now is GEM, so 'have_gem'
is really the same as 'have kernel support'. If you're using user mode
setting, I think you need to call this ioctl whenever changing modes to
make sure vblank counts are correct, so that any vblank-using APIs
within the X server work right.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090612/6ab162dc/attachment.sig>
More information about the Intel-gfx
mailing list