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
Boyuan Zhang 15df736afe drm/amd/pm: add inst to smu_dpm_set_vcn_enable
First, add an instance parameter to smu_dpm_set_vcn_enable() function,
and calling dpm_set_vcn_enable() with this given instance.

Second, modify vcn_gated to be an array, to track the gating status
for each vcn instance separately.

With these 2 changes, smu_dpm_set_vcn_enable() will check and set the
gating status for the given vcn instance ONLY.

v2: remove duplicated functions.

remove for-loop in dpm_set_vcn_enable(), and temporarily move it to
to smu_dpm_set_power_gate(), in order to keep the exact same logic as
before, until further separation in next patch.

v3: add instance number in error message.

v4: declaring i at the top of the function.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-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
..
inc drm/amd/pm: implement dpm sdma reset function 2024-12-10 10:26:45 -05:00
legacy-dpm drm/amdgpu: Clean the functions pointer set as NULL 2024-10-22 17:50:39 -04:00
powerplay drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config() 2024-12-10 10:26:47 -05:00
swsmu drm/amd/pm: add inst to smu_dpm_set_vcn_enable 2024-12-10 10:26:47 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amd/pm: implement dpm sdma reset function 2024-12-10 10:26:45 -05:00
amdgpu_pm.c drm/amd/pm: fix and simplify workload handling 2024-12-02 18:36:15 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00