]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit741c2030ed5797048ce388a784fe99c97ab8d168
tree2e6914d4fe70582320058d14f64de5372d0f5b57
parentec5338f820d4aa337b03b86dff2039e0bd53f897
Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

This reverts commit f7673481a44b90d785cd1488c5110da0a5573b1b.

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