xserver/hw/xfree86/drivers/modesetting
Kenneth Graunke 7b784df51b modesetting: Use GBM for buffer allocations if Glamor supports it.
For performance, Glamor wants to render to tiled buffers, not linear
ones.  Using GBM allows us to pick the 3D driver's preferred tiling
modes.

v2: Declare drmmode->gbm as void * if !GLAMOR_HAS_GBM.
v3: Just use a forward declaration of struct gbm_device.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2014-12-11 11:26:19 -08:00
..
Makefile.am modesetting: Move dumb_bo into its own source files. 2014-12-11 11:26:19 -08:00
dri2.c modesetting: Add support for DRI2 with glamor. 2014-10-27 13:16:43 -07:00
driver.c modesetting: Use GBM for buffer allocations if Glamor supports it. 2014-12-11 11:26:19 -08:00
driver.h modesetting: Move Bool glamor into drmmode struct 2014-12-08 15:49:33 -08:00
drmmode_display.c modesetting: Use GBM for buffer allocations if Glamor supports it. 2014-12-11 11:26:19 -08:00
drmmode_display.h modesetting: Use GBM for buffer allocations if Glamor supports it. 2014-12-11 11:26:19 -08:00
dumb_bo.c modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08: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 support for rendering using glamor. 2014-10-09 09:48:51 +02:00
vblank.c modesetting: Skip kernel work-around on error in crtc to kernel msc 2014-10-27 15:28:14 -07:00