1
0
Files
linux/drivers/gpu/drm/radeon
Mario Kleiner 5f87e090a7 drm/radeon: Make classic pageflip completion path less racy.
Need to protect mmio flip programming by event lock as well.

Need to also first enable pflip irq, then mmio program,
otherwise a flip completion may get unnoticed in the vblank
of actual completion if the flip is programmed, but
radeon_flip_work_func gets preempted immediately after
mmio programming and before vblank. In that case the
vblank irq handler wouldn't run radeon_crtc_handle_vblank()
with the completion check routine, miss the completed flip,
and only notice one vblank after actual completion, causing
a false/delayed report of flip completion.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-07-17 09:04:03 -04:00
..
2014-06-02 10:25:02 -04:00
2014-07-10 17:01:30 -04:00
2014-07-02 14:10:19 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2014-01-10 15:28:10 +01:00
2013-09-11 11:44:37 -04:00
2014-03-06 16:46:56 -05:00
2014-03-06 16:46:56 -05:00
2013-12-18 11:35:01 +10:00
2014-06-02 10:25:05 -04:00
2014-06-10 09:35:42 +10:00
2013-12-18 11:35:21 +10:00
2013-12-18 11:33:46 +10:00
2013-12-18 11:35:01 +10:00
2013-12-18 11:35:01 +10:00
2014-03-06 16:46:56 -05:00