diff options
author | Yifan Zhang <yifan1.zhang@amd.com> | 2022-02-10 20:34:43 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-17 21:59:05 +0100 |
commit | 1957f27de290cde5a0d6e1df46a2c8b3e9c77046 (patch) | |
tree | 327f2a1074a33d77e94ed345a08555505564ead9 /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | drm/amdgpu/smu11.5: restore cclks in vangogh_set_performance_level (diff) | |
download | linux-1957f27de290cde5a0d6e1df46a2c8b3e9c77046.tar.xz linux-1957f27de290cde5a0d6e1df46a2c8b3e9c77046.zip |
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 '')
-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 | |