xserver/hw/xfree86/drivers/modesetting
Mario Kleiner 7bc86c7d23 modesetting: Adapt xf86HandleColorMaps() for > 24 color depth. (v2)
This retains old behavior for depths <= 24, but allows gamma
table and colormap updates to work properly at depth 30.

This needs the xf86Randr12CrtcComputeGamma() fix for depth 30
from a previous commit to work. Otherwise the server will work,
but gamma table updates will silently fail, iow. the server
would always run with a default identity gamma lut.

v2: Simplify as proposed by Michel.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Antoine Martin <antoine@nagafix.co.uk> (v1)
2018-02-27 10:18:07 -05:00
..
Makefile.am shadow: Lift 32->24 conversion from modesetting to dix 2016-12-12 14:10:44 -05:00
dri2.c modesetting: Check for -1 before converting to unsigned int. 2018-02-02 15:19:32 -05:00
driver.c modesetting: Do not close uninitialized dri2 screen 2018-02-26 16:41:42 -05:00
driver.h miinitext: General cleanup (v2) 2018-01-22 17:28:12 -05:00
drmmode_display.c modesetting: Adapt xf86HandleColorMaps() for > 24 color depth. (v2) 2018-02-27 10:18:07 -05:00
drmmode_display.h modesetting: Do not close uninitialized dri2 screen 2018-02-26 16:41:42 -05: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 meson: Fix test for whether we've built glamor-EGL. 2017-06-13 10:36:18 -04:00
modesetting.man modesetting: Add more missing options to man page. 2015-08-13 00:36:12 +01:00
pageflip.c modesetting: Drop code for GLAMOR && !GLAMOR_HAS_GBM. 2017-05-18 11:33:05 -04:00
present.c xf86-video-modesetting: Add ms_queue_vblank helper [v3] 2017-10-04 15:17:41 -04:00
vblank.c modesetting: Fix fallback for lack of new vblank kernel API. 2018-02-27 10:02:05 -05:00