drm/amdgpu/display: add quirk handling for stutter mode
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Oct 2021 20:45:00 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:25:12 +0000 (17:25 +0200)
commit8bae037b0fb429466fed1585440f337396d72efa
tree34e038cfd27610c5f536d4ce4d93ec2b3e324064
parente980e1d978e0eb4c0399cff37f175779237db53b
drm/amdgpu/display: add quirk handling for stutter mode

[ Upstream commit 3ce51649cdf23ab463494df2bd6d1e9529ebdc6a ]

Stutter mode is a power saving feature on GPUs, however at
least one early raven system exhibits stability issues with
it.  Add a quirk to disable it for that system.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=214417
Fixes: 005440066f929b ("drm/amdgpu: enable gfxoff again on raven series (v2)")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c