projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68b3adb
)
drm/radeon: async event synchronization for drmWaitVblank
author
Jerome Glisse
<
[email protected]
>
Thu, 6 May 2010 16:52:14 +0000
(18:52 +0200)
committer
Dave Airlie
<
[email protected]
>
Thu, 6 May 2010 23:16:56 +0000
(09:16 +1000)
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 <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/radeon/radeon_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_drv.c
b/drivers/gpu/drm/radeon/radeon_drv.c
index 4b05563d99e16335f729cd3b5fe5bcbff683669f..b3749d47be7bfaa16c4a1bc082d892c2896e2194 100644
(file)
--- 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