drm/amdgpu: Keep the pflip interrupts always enabled v7
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 8 Oct 2015 08:48:04 +0000 (17:48 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Oct 2015 14:04:50 +0000 (10:04 -0400)
commitf6c7aba47bcc0b1cc2085c8d8af80f8c02f28269
tree07394b9a629933e21f9335a3d585c51588b7dfe3
parent80c083c5e4dc35fa37c01f000b1393c51294b9de
drm/amdgpu: Keep the pflip interrupts always enabled v7

This fixes flickering issues caused by prematurely firing pflip
interrupts.

v2 (chk): add commit message, fix DCE V10/V11 and DM as well
v3: Re-enable pflip interrupt wherever we re-enable a CRTC
v4: Enable pflip interrupt in DAL as well
v5: drop DAL changes for upstream
v6: (agd): only enable interrupts on crtcs that exist
v7: (agd): integrate suggestions from Michel

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c