mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 03:00:10 -07:00
15 lines
388 B
Diff
15 lines
388 B
Diff
--- xorg-server-1.20.3/hw/xfree86/drivers/modesetting/driver.c
|
|
+++ xorg-server-1.20.3/hw/xfree86/drivers/modesetting/driver.c
|
|
@@ -1528,6 +1528,10 @@
|
|
if (ms->fd_passed)
|
|
return TRUE;
|
|
|
|
+ ret = drmIsMaster(ms->fd);
|
|
+ if (ret)
|
|
+ return TRUE;
|
|
+
|
|
ret = drmSetMaster(ms->fd);
|
|
if (ret)
|
|
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "drmSetMaster failed: %s\n",
|
|
|