xserver/hw/xfree86/drivers/modesetting
Dave Airlie 21217d0216 modesetting: Implement 32->24 bpp conversion in shadow update
24bpp front buffers tend to be the least well tested path for client
rendering.  On the qemu cirrus emulation, and on some Matrox G200 server
chips, the hardware can't do 32bpp at all.  It's better to just allocate
a 32bpp shadow and downconvert in the upload hook than expose a funky
pixmap format to clients.

[ajax: Ported from RHEL and separate modesetting driver, lifted kbpp
into the drmmode struct, cleaned up commit message, fixed 16bpp]

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlied <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
[hdegoede@redhat.com: rebase, also use kbpp for rotate shadow fb]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-07-02 09:28:04 +02:00
..
Makefile.am modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
dri2.c modesetting: avoid double free if AddResource fails 2016-03-08 10:19:55 -05:00
driver.c modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
driver.h modesetting: add support for background none. 2016-05-02 18:21:10 -04:00
drmmode_display.c modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
drmmode_display.h modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02: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
modesetting.man modesetting: Add more missing options to man page. 2015-08-13 00:36:12 +01:00
present.c modesetting: Clear drmmode->fb_id before unflipping 2016-06-17 11:38:13 +02:00
sh3224.c modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
sh3224.h modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
vblank.c modesetting: Use NotifyFd for drm event monitoring 2015-12-01 13:55:25 -05:00