summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-12-16 10:40:30 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-06-04 16:03:12 -0400
commit1b3869386e57bd3ea4ef47226a0f08f2b9fcfb30 (patch)
tree02aa8d1920617692f0d30a20e72da27a8f1b65ed
parentbea75349945f4a446d29e434dad40ec78ff5fcbc (diff)
downloadlinux-1b3869386e57bd3ea4ef47226a0f08f2b9fcfb30.tar.bz2
drm/amdgpu: add mmhub client support for yellow carp
To help debugging GPUVM page faults. Acked-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
index 709ac576ac7e..88e457a150e0 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
@@ -92,6 +92,7 @@ mmhub_v2_3_print_l2_protection_fault_status(struct amdgpu_device *adev,
status);
switch (adev->asic_type) {
case CHIP_VANGOGH:
+ case CHIP_YELLOW_CARP:
mmhub_cid = mmhub_client_ids_vangogh[cid][rw];
break;
default: