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> |
||
---|---|---|
.. | ||
dri2.c | ||
driver.c | ||
driver.h | ||
drmmode_display.c | ||
drmmode_display.h | ||
dumb_bo.c | ||
dumb_bo.h | ||
Makefile.am | ||
modesetting.man | ||
pageflip.c | ||
present.c | ||
sh3224.c | ||
sh3224.h | ||
vblank.c |