summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-08-27 11:49:35 -0700
committerAdam Jackson <ajax@redhat.com>2016-07-18 15:25:59 -0400
commit6299ef3d749d6f978d3d38d42f711ac56bf382eb (patch)
tree1629c48920ccd28fe275ee51188177d59116557f
parent6bf7b49f6711c7ed1837283dc04f93f4c1b77ecc (diff)
modesetting: Use passed-in fd for drm event monitoring NotifyFd callback
This is a cleanup, proposed by Adam Jackson, but wasn't merged with the original NotifyFD changes. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--hw/xfree86/drivers/modesetting/vblank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/drivers/modesetting/vblank.c b/hw/xfree86/drivers/modesetting/vblank.c
index 869472a6c..07278871f 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);
}
/*