Files
lkl_linux/drivers/gpu/drm/amd/amdgpu
Tom Rix eed1a5c742 drm/amdgpu: check return status before using stable_pstate
Clang static analysis reports this problem
amdgpu_ctx.c:616:26: warning: Assigned value is garbage
  or undefined
  args->out.pstate.flags = stable_pstate;
                         ^ ~~~~~~~~~~~~~
amdgpu_ctx_stable_pstate can fail without setting
stable_pstate.  So check.

Fixes: 8cda7a4f96 ("drm/amdgpu/UAPI: add new CTX OP to get/set stable pstates")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-16 16:44:40 -05:00
..
2022-02-11 16:19:23 -05:00
2021-04-09 16:46:32 -04:00
2021-05-19 23:50:27 -04:00
2022-01-19 22:32:47 -05:00
2022-01-19 22:32:47 -05:00
2022-01-19 22:32:47 -05:00
2021-06-30 00:18:23 -04:00
2022-02-11 16:11:55 -05:00
2021-10-20 11:43:57 -04:00
2021-05-19 23:50:27 -04:00
2021-10-20 11:43:57 -04:00
2022-02-14 15:08:41 -05:00