From: Aurabindo Pillai Date: Tue, 26 May 2020 19:55:06 +0000 (-0400) Subject: drm/amd/display: Enable use of dmub iff dmcu is disabled X-Git-Tag: v5.10.7~1861^2~25^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a96562b01815b20d0f8b37890c0316f516a1fb77;p=platform%2Fkernel%2Flinux-rpi.git 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 --- 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) {