]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Track the status of a page flip more explicitly
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 30 Jun 2014 09:12:34 +0000 (18:12 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Jul 2014 16:26:48 +0000 (12:26 -0400)
commit095d51a219eeb3b2eae61d234abcaec6f771cf09
tree5da18e50c5c015d671cd245d01c03fd8f9e1d65e
parentadca080c469e3ea44b779deb0137e6c6cad04141
drm/radeon: Track the status of a page flip more explicitly

This prevents a panic: radeon_crtc_handle_page_flip() could run before
radeon_flip_work_func(), triggering the BUG_ON() in drm_vblank_put().

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_mode.h