[PATCH xserver 09/23] modesetting: Use passed-in fd for drm event monitoring NotifyFd callback
Keith Packard
keithp at keithp.com
Thu May 26 23:59:44 UTC 2016
This is a cleanup, proposed by Adam Jackson, but wasn't merged with
the original NotifyFD changes.
Signed-off-by: Keith Packard <keithp at keithp.com>
---
hw/xfree86/drivers/modesetting/vblank.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/modesetting/vblank.c b/hw/xfree86/drivers/modesetting/vblank.c
index 869472a..0727887 100644
--- a/hw/xfree86/drivers/modesetting/vblank.c
+++ b/hw/xfree86/drivers/modesetting/vblank.c
@@ -253,7 +253,7 @@ ms_drm_socket_handler(int fd, int ready, void *data)
if (data == NULL)
return;
- drmHandleEvent(ms->fd, &ms->event_context);
+ drmHandleEvent(fd, &ms->event_context);
}
/*
--
2.8.0.rc3
More information about the xorg-devel
mailing list