drm/radeon: use pflip irq on R600+ v2
authorChristian König <christian.koenig@amd.com>
Wed, 23 Apr 2014 18:46:06 +0000 (20:46 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 6 Jun 2014 10:38:16 +0000 (12:38 +0200)
commit701a07922310762f938c3e60e04c9eebba073b34
tree1bf64119170a672138ba5b5110e87f4763f7f97c
parentafa83e4942997a92e5c763754bf6dde907bf20cc
drm/radeon: use pflip irq on R600+ v2

commit f5d636d2a74b755879feec35e14a259de52ccc07 upstream.

Testing the update pending bit directly after issuing an
update is nonsense cause depending on the pixel clock the
CRTC needs a bit of time to execute the flip even when we
are in the VBLANK period.

This is just a non invasive patch to solve the problem at
hand, a more complete and cleaner solution should follow
in the next merge window.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=76564
v2: fix source IDs for CRTC2-6

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/si.c