aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-04-20 13:59:01 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:23:23 +0000
commitb94f1cc93db72078ad2da02adf1818f5e9122cb7 (patch)
tree92012b8276101ead689a18adca171e7b08408711 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/display: set variable custom_backlight_curve0 storage-class-specifier... (diff)
downloadkernel-b94f1cc93db72078ad2da02adf1818f5e9122cb7.tar.gz
kernel-b94f1cc93db72078ad2da02adf1818f5e9122cb7.zip
drm/amd/display: return status of dmub_srv_get_fw_boot_status
gcc with W=1 reports drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c: In function ‘dc_dmub_srv_optimized_init_done’: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:184:26: error: variable ‘dmub’ set but not used [-Werror=unused-but-set-variable] 184 | struct dmub_srv *dmub; | ^~~~ The return status is never set. It looks like a call to dmub_srv_get_fw_boot_status is missing. Fixes: 499e4b1c722e ("drm/amd/display: add mechanism to skip DCN init") Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions