Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 17 Jun 2014 10:12:03 +0000 (19:12 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2014 20:30:49 +0000 (16:30 -0400)
commitca721b79377360a891a7d47ed091a79442d5cc7e
tree2e6914d4fe70582320058d14f64de5372d0f5b57
parentf2263fc79655e155d84baf4d475cf02caaf2f8fc
Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

This reverts commit 75f36d861957cb05b7889af24c8cd4a789398304.

drm_vblank_get() is necessary to ensure the DRM vblank counter value is
up to date in drm_send_vblank_event().

Seems to fix weston hangs waiting for page flips to complete.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c