From a96562b01815b20d0f8b37890c0316f516a1fb77 Mon Sep 17 00:00:00 2001 From: Aurabindo Pillai Date: Tue, 26 May 2020 15:55:06 -0400 Subject: [PATCH] drm/amd/display: Enable use of dmub iff dmcu is disabled [Why & How] DMUB command table should be allowed to be used only if dmcu is explicitly disabled. Signed-off-by: Aurabindo Pillai Reviewed-by: Nicholas Kazlauskas Acked-by: Qingqing Zhuo Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c index 7a37065..7a038ee 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c @@ -1906,6 +1906,8 @@ static bool dcn21_resource_construct( BREAK_TO_DEBUGGER(); goto create_fail; } + + dc->debug.dmub_command_table = false; } if (dc->config.disable_dmcu) { -- 2.7.4