xorg-drv-video-ati/xorg-drv-video-ati-6.13.2-xorg-server-1.10.patch

26 lines
880 B
Diff
Raw Normal View History

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index a6038b2..5586970 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1145,7 +1145,7 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
width, height, -1, -1, pitch * cpp,
info->fb_shadow);
}
- scrn->pixmapPrivate.ptr = ppix->devPrivate.ptr;
+// scrn->pixmapPrivate.ptr = ppix->devPrivate.ptr;
// xf86DrvMsg(scrn->scrnIndex, X_INFO, "New front buffer at 0x%lx\n",
// info->front_bo-);
@@ -1442,10 +1442,7 @@ void drmmode_uevent_init(ScrnInfoPtr scrn, drmmode_ptr drmmode)
return;
}
- if (udev_monitor_filter_add_match_subsystem_devtype(mon,
- "drm",
- "drm_minor") < 0 ||
- udev_monitor_enable_receiving(mon) < 0) {
+ if ( udev_monitor_enable_receiving(mon) < 0) {
udev_monitor_unref(mon);
udev_unref(u);
return;