drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
authorYifan Zhang <yifan1.zhang@amd.com>
Thu, 10 Jun 2021 01:55:01 +0000 (09:55 +0800)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:35:37 +0000 (08:35 -0400)
commit7525f2e4de0069983497a9d3eab1ca9813ae1b4b
tree31dcdc850d3d56076706447d07c6d293dea7dabb
parent711459514e297d748f15ba1f5292a3276c3d1dd0
drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.

[ Upstream commit 1c0539a6fc8a4a4b77278e35d763073890de96b9 ]

If GC has entered CGPG, ringing doorbell > first page doesn't wakeup GC.
Enlarge CP_MEC_DOORBELL_RANGE_UPPER to workaround this issue.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c