summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_dpm.c
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2023-05-17 09:55:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-10-13 18:00:03 +0300
commitd60fbf2d254acc9bc610713bed2bc9e47831fc15 (patch)
treea8314bfe865a742ccd924d7e7db533d7312c2d95 /drivers/gpu/drm/amd/pm/amdgpu_dpm.c
parentad3e54ab9e38f220b55a1a1299e21a9fd93f2948 (diff)
downloadlinux-d60fbf2d254acc9bc610713bed2bc9e47831fc15.tar.xz
drm/amdgpu: add support to powerup VPE by SMU
Powerup VPE by SMU. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_dpm.c')
-rw-r--r--drivers/gpu/drm/amd/pm/amdgpu_dpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_dpm.c b/drivers/gpu/drm/amd/pm/amdgpu_dpm.c
index 1b17a71ed45e..acf3527fff2d 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_dpm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_dpm.c
@@ -93,6 +93,7 @@ int amdgpu_dpm_set_powergating_by_smu(struct amdgpu_device *adev, uint32_t block
case AMD_IP_BLOCK_TYPE_JPEG:
case AMD_IP_BLOCK_TYPE_GMC:
case AMD_IP_BLOCK_TYPE_ACP:
+ case AMD_IP_BLOCK_TYPE_VPE:
if (pp_funcs && pp_funcs->set_powergating_by_smu)
ret = (pp_funcs->set_powergating_by_smu(
(adev)->powerplay.pp_handle, block_type, gate));