[PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault

2022-05-29 Thread sunliming
Fixes the following w1 warning: drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]. Reported-by: kernel test robot Signed-off-by: sunliming --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 + 1 file changed, 1

[PATCH] drm/amdgpu: make gfx_v11_0_rlc_stop static

2022-05-29 Thread sunliming
This symbol is not used outside of gfx_v11_0.c, so marks it static. Fixes the following w1 warning: drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:1945:6: warning: no previous prototype for function 'gfx_v11_0_rlc_stop' [-Wmissing-prototypes]. Reported-by: kernel test robot Signed-off-by:

[PATCH] drm/amd/display: Fix variable dereferenced before check

2022-08-26 Thread sunliming
Fixes the following smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:311 dc_dmub_srv_p_state_delegate() warn: variable dereferenced before check 'dc' (see line 309) Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: sunliming --- drive

[PATCH] drm/vc4: fix uninitialized smatch warnings

2025-04-04 Thread sunliming
From: sunliming Fix below smatch warnings: drivers/gpu/drm/vc4/vc4_gem.c:604 vc4_lock_bo_reservations() error: uninitialized symbol 'ret'. Reported-by: kernel test robot Reported-by: Dan Carpenter Closes: https://lore.kernel.org/r/202504021500.3am1hkks-...@intel.com/ Signed-off-by: