summaryrefslogtreecommitdiff
path: root/drivers/gpu/ipu-v3/ipu-common.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-06-24 14:26:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-06-24 17:29:59 +0300
commit73c86d628d6aa3d7162094ef1f0503bda17b506e (patch)
tree83582297749cfa38cabfef12a7833344a75f261c /drivers/gpu/ipu-v3/ipu-common.c
parentf3f48d7331cf5ad9a6b3a6beff38f3dad1871b49 (diff)
downloadlinux-73c86d628d6aa3d7162094ef1f0503bda17b506e.tar.xz
drm/amdgpu: fix modprobe failure for uvd_4/5/6
For uvd_4/5/6, amdgpu driver will only power on them when there are jobs assigned to decode/enc rings.uvd_4/5/6 dpm was broken since amdgpu_dpm_set_powergating_by_smu only covers gfx block. The change would add more IP block support in amdgpu_dpm_set_powergating_by_smu For GFX/UVD/VCN/VCE, if the new SMU driver is supported, invoke new power gate helper function smu_dpm_set_power_gate, otherwise, fallback to legacy powerplay helper function pp_set_powergating_by_smu. For other IP blocks always invoke legacy powerplay helper function. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Tianci Yin <tianci.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-common.c')
0 files changed, 0 insertions, 0 deletions