]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0b48d06dc0a7adc66043aa310bfdc86fc0fe8e3
tree07394b9a629933e21f9335a3d585c51588b7dfe3
parent4bf83589e05f10f2fd42408de0ed4061c6e22437
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