mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
Merge branch 'topic/enable-dmabuf-capable' into 'master'
Enable dmabuf_capable by default for radeonsi See merge request xorg/xserver!2091
This commit is contained in:
commit
586128a114
2 changed files with 3 additions and 1 deletions
|
|
@ -1223,6 +1223,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
|
|||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else if (strstr((const char *)renderer, "zink"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else if (strstr((const char *)renderer, "radeonsi"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else
|
||||
glamor_egl->dmabuf_capable = FALSE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ ms_present_check_flip(RRCrtcPtr crtc,
|
|||
|
||||
no_flip:
|
||||
/* Export some info about TearFree if Present can't flip anyway */
|
||||
if (reason) {
|
||||
if (reason && *reason == PRESENT_FLIP_REASON_UNKNOWN) {
|
||||
xf86CrtcPtr xf86_crtc = crtc->devPrivate;
|
||||
drmmode_crtc_private_ptr drmmode_crtc = xf86_crtc->driver_private;
|
||||
drmmode_tearfree_ptr trf = &drmmode_crtc->tearfree;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue