[PATCH 08/11] drm/amdgpu/vcn: enable vcn pg for VCN4_0_3
Alex Deucher
alexander.deucher at amd.com
Mon Mar 27 19:46:19 UTC 2023
From: James Zhu <James.Zhu at amd.com>
Enable vcn pg for VCN4_0_3.
Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 5ccdf874da14..881e015881e9 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1107,6 +1107,7 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags =
+ AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_JPEG;
break;
default:
--
2.39.2
More information about the amd-gfx
mailing list