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>

authored by Jerome Glisse and committed by Dave Airlie 4fa07bf1 68b3adb4

+2
+2
drivers/gpu/drm/radeon/radeon_drv.c
··· 216 .mmap = drm_mmap, 217 .poll = drm_poll, 218 .fasync = drm_fasync, 219 #ifdef CONFIG_COMPAT 220 .compat_ioctl = radeon_compat_ioctl, 221 #endif ··· 305 .mmap = radeon_mmap, 306 .poll = drm_poll, 307 .fasync = drm_fasync, 308 #ifdef CONFIG_COMPAT 309 .compat_ioctl = radeon_kms_compat_ioctl, 310 #endif
··· 216 .mmap = drm_mmap, 217 .poll = drm_poll, 218 .fasync = drm_fasync, 219 + .read = drm_read, 220 #ifdef CONFIG_COMPAT 221 .compat_ioctl = radeon_compat_ioctl, 222 #endif ··· 304 .mmap = radeon_mmap, 305 .poll = drm_poll, 306 .fasync = drm_fasync, 307 + .read = drm_read, 308 #ifdef CONFIG_COMPAT 309 .compat_ioctl = radeon_kms_compat_ioctl, 310 #endif