2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/pm/inc
Boyuan Zhang 393f026b16 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 <boyuan.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-12-10 10:26:47 -05:00
..
amdgpu_dpm_internal.h drm/amd/pm: optimize the amdgpu_pm_compute_clocks() implementations 2022-01-14 17:51:14 -05:00
amdgpu_dpm.h drm/amdgpu: add inst to amdgpu_dpm_enable_vcn 2024-12-10 10:26:47 -05:00
amdgpu_pm.h drm/amd/pm: Remove legacy interface for xgmi plpd 2024-05-17 17:40:39 -04:00
smu_v13_0_0_pptable.h drm/amd/pm: open brace '{' following struct go on the same line 2023-07-25 13:43:56 -04:00