diff options
| author | Saleemkhan Jamadar <[email protected]> | 2024-07-04 09:49:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-08 20:50:40 +0000 |
| commit | b6ad1091666732e8750357f9d2fb599f81bf6bff (patch) | |
| tree | 57b5d819e903145eced9729afe09d03ac9fc79a8 /drivers/gpu/drm/amd/amdgpu/soc21.c | |
| parent | drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG (diff) | |
| download | kernel-b6ad1091666732e8750357f9d2fb599f81bf6bff.tar.gz kernel-b6ad1091666732e8750357f9d2fb599f81bf6bff.zip | |
drm/amdgpu: enable dpg for vcn and jpeg on GC 11_5_2
DPG mode is enabled for vcn and jpeg on VCN v4_0_5
Signed-off-by: Saleemkhan Jamadar <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 6cc86d13f32a..d30ad7d56def 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -774,7 +774,9 @@ static int soc21_common_early_init(void *handle) AMD_CG_SUPPORT_IH_CG | AMD_CG_SUPPORT_BIF_MGCG | AMD_CG_SUPPORT_BIF_LS; - adev->pg_flags = AMD_PG_SUPPORT_VCN | + adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG | + AMD_PG_SUPPORT_VCN | + AMD_PG_SUPPORT_JPEG_DPG | AMD_PG_SUPPORT_JPEG | AMD_PG_SUPPORT_GFX_PG; adev->external_rev_id = adev->rev_id + 0x40; |
