]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Error print when ATOM BIOS implementation is missing
authorHarry Wentland <harry.wentland@amd.com>
Mon, 27 Nov 2017 14:50:01 +0000 (09:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Dec 2017 19:45:58 +0000 (14:45 -0500)
commit8be69311fa7991bcc1982d3b3bc7644ba65a0c18
treeb4e8fba772a079ff584d1bff086768d91cc616a0
parentc392b1bdfaa51c5061fa677e19edf3b0239197f5
drm/amd/display: Error print when ATOM BIOS implementation is missing

We fail apply_ctx_to_hw when crtc_source_select is missing. This isn't
really helpful at this point. It would aid ASIC bringup if we log an error
when we can't find the implementation for the ATOM version.

Do the same for all other function points in the command table that do a
NULL check before being called.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table.c
drivers/gpu/drm/amd/display/dc/bios/command_table2.c