diff options
author | James Zhu <James.Zhu@amd.com> | 2022-04-15 11:50:10 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-05 16:52:14 -0400 |
commit | ebac66a3283689c0f58dce023108ba71968eb161 (patch) | |
tree | 5c3b5cc1a36aedd05217082050c3b39c7f1dee93 /drivers/gpu/drm/amd/amdgpu/soc21.c | |
parent | 71dae221432cbf2dbd77325c90b9abecccb7b29c (diff) |
drm/amdgpu/jpeg: enable JPEG PG for VCN4_0_4
Enable JPEG PG for VCN4_0_4.
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 6d6aca7f64d9..a75860e6c3b4 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -550,7 +550,8 @@ static int soc21_common_early_init(void *handle) case IP_VERSION(11, 0, 2): adev->cg_flags = AMD_CG_SUPPORT_JPEG_MGCG; - adev->pg_flags = 0; + adev->pg_flags = + AMD_PG_SUPPORT_JPEG; adev->external_rev_id = adev->rev_id + 0x10; break; default: |