xserver/hw/xfree86/drivers
Hans de Goede cb7b145a25 modesetting: Fix msSharePixmapBacking returning a non-linear bo
glamor_fd_from_pixmap() may return a tiled bo, which is not suitable
for sharing with another GPU as tiling usually is GPU specific.

Switch to glamor_shareable_fd_from_pixmap(), which always returns a
linear bo. This fixes mis-rendering when running the mode setting
driver on the master gpu in a dual-gpu setup and running an opengl
app with DRI_PRIME=1.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-09-13 10:26:25 +02:00
..
modesetting modesetting: Fix msSharePixmapBacking returning a non-linear bo 2016-09-13 10:26:25 +02:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00