summaryrefslogtreecommitdiff
path: root/drivers/net/usb/smsc95xx.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2014-07-17 02:24:45 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-07-17 09:04:03 -0400
commit5f87e090a7368adc2290ae17ffd82a070caadd20 (patch)
tree54db7617658560a8a13e5cb87ef135c4a05b35f2 /drivers/net/usb/smsc95xx.c
parent826484977c29b42c8cb8c42bd41acaa6e152a4bb (diff)
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>
Diffstat (limited to 'drivers/net/usb/smsc95xx.c')
0 files changed, 0 insertions, 0 deletions