xserver/hw/xfree86/drivers/modesetting
Aaron Plattner 245b9db03a modesetting: Use GAMMA_LUT when available
If the kernel exposes GAMMA_LUT and GAMMA_LUT_SIZE properties and the size is
not what the server has pre-configured for the crtc, free the old gamma ramp
memory allocated by the server and replace it with new allocations of the
appropriate size.

In addition, when GAMMA_LUT is available, use drmModeCreatePropertyBlob() and
drmModeObjectSetProperty() to set the gamma ramp rather than using the legacy
drmModeCrtcSetGamma() function.

Add a new option "UseGammaLUT" to allow disabling this new behavior and falling
back to drmModeCrtcSetGamma() unconditionally.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2020-10-29 15:13:17 -07: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: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07:00
driver.h modesetting: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07:00
drmmode_display.c modesetting: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07:00
drmmode_display.h modesetting: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07: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: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07: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