Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
authorYifan Zhang <yifan1.zhang@amd.com>
Sat, 19 Jun 2021 03:39:43 +0000 (11:39 +0800)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:47:15 +0000 (08:47 -0400)
commitfea853aca3210c21dfcf07bb82d501b7fd1900a7
treeca2f1e597e3c8ea5b804ed15d83e6107467ed5fe
parent1bd81429d53ded4e111616c755a64fad80849354
Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."

commit baacf52a473b24e10322b67757ddb92ab8d86717 upstream.

This reverts commit 1c0b0efd148d5b24c4932ddb3fa03c8edd6097b3.

Reason for revert: Side effect of enlarging CP_MEC_DOORBELL_RANGE may
cause some APUs fail to enter gfxoff in certain user cases.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c