drm/amdgpu: add MMHUB 3.3.1 support
Subsystems (2)
Alex Deucher
maintainerPATCH 1/4 drm/amdgpu: add MMHUB 3.3.1 support
From: Yifan Zhang <[email protected]>
This patch to add MMHUB 3.3.1 support.
v2: squash in fault info fix (Alex)
Signed-off-by Yifan Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +1 -0
@@ -571,6 +571,7 @@ static void gmc_v11_0_set_mmhub_funcs(struct amdgpu_device *adev) adev->mmhub.funcs = &mmhub_v3_0_2_funcs;break ;case IP_VERSION (3 ,3 ,0 ): +case IP_VERSION (3 ,3 ,1 ): adev->mmhub.funcs = &mmhub_v3_3_funcs;break ;default :
drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c +1 -0
@@ -98,6 +98,7 @@ mmhub_v3_3_print_l2_protection_fault_status(struct amdgpu_device *adev,switch (amdgpu_ip_version (adev,MMHUB_HWIP ,0 )) {case IP_VERSION (3 ,3 ,0 ): +case IP_VERSION (3 ,3 ,1 ): mmhub_cid = mmhub_client_ids_v3_3[cid][rw];break ;default :
Signature · 1 line
2.42.0
Alex Deucher
maintainerPATCH 2/4 drm/amdgpu: add GFXHUB 11.5.1 support
From: Yifan Zhang <[email protected]>
This patch to add GFXHUB 11.5.1 support.
Signed-off-by Yifan Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +2 -0
@@ -587,6 +587,7 @@ static void gmc_v11_0_set_gfxhub_funcs(struct amdgpu_device *adev) adev->gfxhub.funcs = &gfxhub_v3_0_3_funcs;break ;case IP_VERSION (11 ,5 ,0 ): +case IP_VERSION (11 ,5 ,1 ): adev->gfxhub.funcs = &gfxhub_v11_5_0_funcs;break ;default :
@@ -748,6 +749,7 @@ static int gmc_v11_0_sw_init(void *handle)case IP_VERSION (11 ,0 ,3 ):case IP_VERSION (11 ,0 ,4 ):case IP_VERSION (11 ,5 ,0 ): +case IP_VERSION (11 ,5 ,1 ):set_bit (AMDGPU_GFXHUB (0 ), adev->vmhubs_mask);set_bit (AMDGPU_MMHUB0 (0 ), adev->vmhubs_mask);/*
Signature · 1 line
2.42.0
Alex Deucher
maintainerPATCH 3/4 drm/amdgpu: add tmz support for GC IP v11.5.1
In reply to Alex DeucherFrom: Yifan Zhang <[email protected]>
Add tmz support for GC 11.5.1.
Signed-off-by Yifan Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
@@ -843,6 +843,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)case IP_VERSION (10 ,3 ,3 ):case IP_VERSION (11 ,0 ,4 ):case IP_VERSION (11 ,5 ,0 ): +case IP_VERSION (11 ,5 ,1 ):/* Don't enable it by default yet. */ if (amdgpu_tmz <1 ) {
Signature · 1 line
2.42.0
Alex Deucher
maintainerPATCH 4/4 drm/amdgpu: enable gmc11 discovery support for GC 11.5.1
In reply to Alex DeucherFrom: Yifan Zhang <[email protected]>
This patch to enable gmc11 for GC 11.5.1
Signed-off-by Yifan Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
@@ -1730,6 +1730,7 @@ static int amdgpu_discovery_set_gmc_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (11 ,0 ,3 ):case IP_VERSION (11 ,0 ,4 ):case IP_VERSION (11 ,5 ,0 ): +case IP_VERSION (11 ,5 ,1 ):amdgpu_device_ip_block_add (adev, &gmc_v11_0_ip_block);break ;default :
Signature · 1 line
2.42.0