summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_drv.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-05-06 18:52:14 +0200
committerDave Airlie <airlied@redhat.com>2010-05-07 01:16:56 +0200
commit4fa07bf146aaee1e8409d35ab08624041c2e3867 (patch)
tree05e9e9c0ea0fd1e6541bb11ffe1762e4690b1a9a /drivers/gpu/drm/radeon/radeon_drv.c
parentdrm/radeon/kms/legacy: only enable load detection property on DVI-I (diff)
downloadlinux-4fa07bf146aaee1e8409d35ab08624041c2e3867.tar.xz
linux-4fa07bf146aaee1e8409d35ab08624041c2e3867.zip
drm/radeon: async event synchronization for drmWaitVblank
Bring radeon up to speed with the async event synchronization for drmWaitVblank. See c9a9c5e02aedc1a2815877b0268f886d2640b771 for more information. Without this patch event never get delivered to userspace client. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/radeon/radeon_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index 4b05563d99e1..b3749d47be7b 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -216,6 +216,7 @@ static struct drm_driver driver_old = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .read = drm_read,
#ifdef CONFIG_COMPAT
.compat_ioctl = radeon_compat_ioctl,
#endif
@@ -304,6 +305,7 @@ static struct drm_driver kms_driver = {
.mmap = radeon_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .read = drm_read,
#ifdef CONFIG_COMPAT
.compat_ioctl = radeon_kms_compat_ioctl,
#endif