]> asedeno.scripts.mit.edu Git - linux.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)
commitbe3cb5888308f2f2cb426788ca8b68f0308069c2
treeb4e8fba772a079ff584d1bff086768d91cc616a0
parent4486c3fcdff71381871f418b7bcd3a496cd632b1
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