drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
authorYifan Zhang <yifan1.zhang@amd.com>
Thu, 10 Jun 2021 01:55:01 +0000 (09:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jun 2021 12:42:53 +0000 (14:42 +0200)
commit41984d4fbe21d7e0638212c42fdeaead76f5513d
tree2625edef28df8ffa6baa697a341d18f4a880e682
parentbc58ec307ce93a0bcb14f4cdcd8e18ac7b4ebf10
drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.

commit 4cbbe34807938e6e494e535a68d5ff64edac3f20 upstream.

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: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-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_v9_0.c