linux/drivers/gpu/drm/amd
Alex Deucher c65b364c52 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>
Cc: stable@vger.kernel.org
2022-05-11 11:50:43 -04:00
..
acp
amdgpu drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2) 2022-05-11 11:50:43 -04:00
amdkfd drm/amdkfd: CRIU add support for GWS queues 2022-04-27 17:16:20 -04:00
display drm/amd/display: undo clearing of z10 related function pointers 2022-05-06 10:55:01 -04:00
include drm/amdgpu: config HDP_MISC_CNTL.READ_BUFFER_WATERMARK 2022-02-24 17:24:43 -05:00
pm Revert "drm/amd/pm: keep the BACO feature enabled for suspend" 2022-05-11 11:47:51 -04:00