drm/amdgpu: add nv common init for gc 10.3.6
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: add nv common init for gc 10.3.6
From: Yifan Zhang <[email protected]>
This patch adds add nv common init for gc 10.3.6.
Signed-off-by Yifan Zhang <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + drivers/gpu/drm/amd/amdgpu/nv.c | 5 +++++ 2 files changed, 6 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
@@ -1182,6 +1182,7 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (10 ,3 ,3 ):case IP_VERSION (10 ,3 ,4 ):case IP_VERSION (10 ,3 ,5 ): +case IP_VERSION (10 ,3 ,6 ):case IP_VERSION (10 ,3 ,7 ):amdgpu_device_ip_block_add (adev, &nv_common_ip_block);break ;
drivers/gpu/drm/amd/amdgpu/nv.c +5 -0
@@ -905,6 +905,11 @@ static int nv_common_early_init(void *handle) adev->pg_flags =0 ; adev->external_rev_id = adev->rev_id +0x82 ;break ; +case IP_VERSION (10 ,3 ,6 ): + adev->cg_flags =0 ; + adev->pg_flags =0 ; + adev->external_rev_id = adev->rev_id +0x01 ; +break ;case IP_VERSION (10 ,3 ,7 ): adev->cg_flags =0 ; adev->pg_flags = AMD_PG_SUPPORT_VCN |
Signature · 1 line
2.35.1