aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
diff options
context:
space:
mode:
authorBoyuan Zhang <[email protected]>2024-10-03 18:47:29 +0000
committerAlex Deucher <[email protected]>2024-12-10 15:26:47 +0000
commit393f026b168a674d403ddb8ea9e5175e644d2892 (patch)
treef9e912908429a0f9511eeddc0ebdff4eb64e2096 /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
parentdrm/amd/pm: add inst to dpm_set_powergating_by_smu (diff)
downloadkernel-393f026b168a674d403ddb8ea9e5175e644d2892.tar.gz
kernel-393f026b168a674d403ddb8ea9e5175e644d2892.zip
drm/amdgpu: add inst to amdgpu_dpm_enable_vcn
Add an instance parameter to amdgpu_dpm_enable_vcn() function, and change all calls from vcn ip functions to add instance argument. vcn generations with only one instance (v1.0, v2.0) always use 0 as instance number. vcn generations with multiple instances (v2.5, v3.0, v4.0, v4.0.3, v4.0.5, v5.0.0) use the actual instance number. v2: remove for-loop in amdgpu_dpm_enable_vcn(), and temporarily move it to vcn ip with multiple instances, in order to keep the exact same logic as before, until further separation in next patch. v3: fix missing prefix Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c')
0 files changed, 0 insertions, 0 deletions