diff options
author | Yifan Zhang <yifan1.zhang@amd.com> | 2022-02-10 14:34:43 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-17 15:59:05 -0500 |
commit | 1957f27de290cde5a0d6e1df46a2c8b3e9c77046 (patch) | |
tree | 327f2a1074a33d77e94ed345a08555505564ead9 /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | 91aa9c8f5282922b2890227724467de2f32fbf84 (diff) |
drm/amdgpu: add nv common init for gc 10.3.6
This patch adds add nv common init for gc 10.3.6.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index f1285cf64517..78a0e8882a50 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -908,6 +908,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 | |