linux-yocto/drivers/gpu/drm/amd/pm
Kenneth Feng 74e1006430 drm/amd/pm: correct the workload setting
Correct the workload setting in order not to mix the setting
with the end user. Update the workload mask accordingly.

v2: changes as below:
1. the end user can not erase the workload from driver except default workload.
2. always shows the real highest priority workoad to the end user.
3. the real workload mask is combined with driver workload mask and end user workload mask.

v3: apply this to the other ASICs as well.
v4: simplify the code
v5: refine the code based on the review comments.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8cc438be5d)
Cc: stable@vger.kernel.org # 6.11.x
2024-11-04 12:51:01 -05:00
..
inc drm/amd/pm: Remove legacy interface for xgmi plpd 2024-05-17 17:40:39 -04:00
legacy-dpm drm/amdgpu: fix UBSAN warning in kv_dpm.c 2024-06-19 18:25:52 -04:00
powerplay drm/amdgpu: partially revert powerplay __counted_by changes 2024-10-07 14:58:26 -04:00
swsmu drm/amd/pm: correct the workload setting 2024-11-04 12:51:01 -05:00
amdgpu_dpm_internal.c
amdgpu_dpm.c drm/amdgpu: Disable dpm_enabled flag while VF is in reset 2024-08-13 12:12:52 -04:00
amdgpu_pm.c Documentation/amdgpu: Add PM policy documentation 2024-05-20 16:20:26 -04:00
Makefile