Skip to content

Commit 4fa07bf

Browse files
Jerome Glisseairlied
authored andcommitted
drm/radeon: async event synchronization for drmWaitVblank
Bring radeon up to speed with the async event synchronization for drmWaitVblank. See c9a9c5e 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>
1 parent 68b3adb commit 4fa07bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/radeon/radeon_drv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ static struct drm_driver driver_old = {
216216
.mmap = drm_mmap,
217217
.poll = drm_poll,
218218
.fasync = drm_fasync,
219+
.read = drm_read,
219220
#ifdef CONFIG_COMPAT
220221
.compat_ioctl = radeon_compat_ioctl,
221222
#endif
@@ -304,6 +305,7 @@ static struct drm_driver kms_driver = {
304305
.mmap = radeon_mmap,
305306
.poll = drm_poll,
306307
.fasync = drm_fasync,
308+
.read = drm_read,
307309
#ifdef CONFIG_COMPAT
308310
.compat_ioctl = radeon_kms_compat_ioctl,
309311
#endif

0 commit comments

Comments
 (0)