mirror_ubuntu-kernels/drivers/gpu/drm/amd
Alex Deucher 505c170b62 drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2)
Check if the requested stable pstate matches the current one before
changing it.  This avoids changing the stable pstate on context
destroy if the user never changed it in the first place via the
IOCTL.

v2: compare the current and requested rather than setting a flag (Lijo)

Fixes: 8cda7a4f96 ("drm/amdgpu/UAPI: add new CTX OP to get/set stable pstates")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-05-16 10:02:57 -04:00
..
acp
amdgpu drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2) 2022-05-16 10:02:57 -04:00
amdkfd drm/amdkfd: Update event_interrupt_isr_v11 return 2022-05-10 17:53:11 -04:00
display drm/amd/display: 3.2.185 2022-05-10 17:53:13 -04:00
include drm/amdgpu/vcn: Add vcn ras poison consumption event handling 2022-05-10 17:53:13 -04:00
pm drm/amd/pm: add smu power_limit callback for smu_v13_0_7 2022-05-16 10:02:57 -04:00