OSDN Git Service

drm/amd/display: Don't treat missing command table as failure
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Sat, 18 Jan 2020 20:23:49 +0000 (15:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:49:35 +0000 (11:49 -0500)
[Why]
With the fallback case in place for command table offloading via DMCUB
it's no longer an error for the command table to be missing specific
entries.

[How]
Drop the BREAK_TO_DEBUGGER();

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table2.c

index 629a07a..c38f75a 100644 (file)
@@ -221,8 +221,8 @@ static void init_transmitter_control(struct bios_parser *bp)
        uint8_t frev;
        uint8_t crev;
 
-       if (BIOS_CMD_TABLE_REVISION(dig1transmittercontrol, frev, crev) == false)
-               BREAK_TO_DEBUGGER();
+       BIOS_CMD_TABLE_REVISION(dig1transmittercontrol, frev, crev);
+
        switch (crev) {
        case 6:
                bp->cmd_tbl.transmitter_control = transmitter_control_v1_6;