mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 06:53:04 +00:00
drm/amd/display: only trigger BIOS related assert for older ASICs
[Why] Some asserts are always hit on startup/Pnp when they should only be used to indicate when something has gone wrong. [How] Ignore result of getting function from bios cmd table for newer asics. Reviewed-by: Jun Lei <jun.lei@amd.com> Signed-off-by: Daniel Sa <Daniel.Sa@amd.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6f4835f9df
commit
c66db9e9a0
|
@ -227,7 +227,7 @@ static void init_transmitter_control(struct bios_parser *bp)
|
|||
uint8_t frev;
|
||||
uint8_t crev = 0;
|
||||
|
||||
if (!BIOS_CMD_TABLE_REVISION(dig1transmittercontrol, frev, crev))
|
||||
if (!BIOS_CMD_TABLE_REVISION(dig1transmittercontrol, frev, crev) && (bp->base.ctx->dc->ctx->dce_version <= DCN_VERSION_2_0))
|
||||
BREAK_TO_DEBUGGER();
|
||||
|
||||
switch (crev) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user