xserver/hw/xfree86/drivers/modesetting
Uday Kiran Pichika 9823ea4ed2 modesetting: Lay the foundation for enabling VRR
These changes have been ported from AMD GPU DDX driver.

This patch adds support for setting the CRTC variable refresh property
for suitable windows flipping via the Present extension.

In order for a window to be suitable for variable refresh it must have
the _VARIABLE_REFRESH property set by the MESA and inform Modesetting
DDX driver with window property updates.

Then the window must pass the checks required to be suitable for
Present extension flips - it must cover the entire X screen and no
other window may already be flipping. And also DRM connector should
be VRR capable.

With these conditions met every CRTC for the X screen will have their
variable refresh property set to true.

Kernel Changes to support this feature in I915 driver is under development.

Tested with DOTA2, Xonotic and custom GLX apps.

Signed-off-by: Uday Kiran Pichika <pichika.uday.kiran@intel.com>
2020-09-08 08:00:20 +00:00
..
Makefile.am modesetting: Fix broken manpage in autoconf build 2019-10-04 10:29:23 +02:00
dri2.c modesetting: Use EGL_MESA_query_driver to select DRI driver if possible 2019-11-26 01:36:10 -08:00
driver.c modesetting: Lay the foundation for enabling VRR 2020-09-08 08:00:20 +00:00
driver.h modesetting: Lay the foundation for enabling VRR 2020-09-08 08:00:20 +00:00
drmmode_display.c modesetting: Lay the foundation for enabling VRR 2020-09-08 08:00:20 +00:00
drmmode_display.h modesetting: Lay the foundation for enabling VRR 2020-09-08 08:00:20 +00:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build xfree86: Link fb statically 2019-07-23 14:24:00 -04:00
modesetting.man modesetting: Document Option "DoubleShadow" in the man page 2018-09-10 14:47:06 -04:00
pageflip.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
present.c modesetting: Lay the foundation for enabling VRR 2020-09-08 08:00:20 +00:00
vblank.c xserver/output: rename some badly named variables/APIs. 2020-07-10 06:17:44 +10:00