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 216 .mmap = drm_mmap, 217 217 .poll = drm_poll, 218 218 .fasync = drm_fasync, 219 + .read = drm_read, 219 220 #ifdef CONFIG_COMPAT 220 221 .compat_ioctl = radeon_compat_ioctl, 221 222 #endif ··· 305 304 .mmap = radeon_mmap, 306 305 .poll = drm_poll, 307 306 .fasync = drm_fasync, 307 + .read = drm_read, 308 308 #ifdef CONFIG_COMPAT 309 309 .compat_ioctl = radeon_kms_compat_ioctl, 310 310 #endif