]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Check and log for function error codes
authorAlex Hung <alex.hung@amd.com>
Tue, 11 Jun 2024 17:41:32 +0000 (11:41 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:36 +0000 (17:10 -0400)
commita171cce57792b0a6206d532050179a381ad74f8f
tree348f11f225d6163caef1f2436475219981d61f97
parente094992bd1caa1fbd42221c7c305fc3b54172b5c
drm/amd/display: Check and log for function error codes

[WHAT & HOW]
BIOS_CMD_TABLE_REVISION and link_transmitter_control can return error
codes and errors should be reported.

This fixes 3 CHECKED_RETURN issues reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table2.c
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c