Commit f0a574c9 authored by Wyatt Wood's avatar Wyatt Wood Committed by Alex Deucher
Browse files

drm/amd/display: Set disable_dmcu flag properly per asic



[Why]
The default value for disable_dmcu is true, even for asics that require
dmcu.

[How]
Set flag properly per asic.

Signed-off-by: default avatarWyatt Wood <wyatt.wood@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3b58f22e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -570,7 +570,7 @@ static const struct dc_plane_cap plane_cap = {

static const struct dc_debug_options debug_defaults_drv = {
		.sanity_checks = true,
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = false,
		.clock_trace = true,
@@ -598,7 +598,7 @@ static const struct dc_debug_options debug_defaults_drv = {
};

static const struct dc_debug_options debug_defaults_diags = {
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = true,
		.clock_trace = true,
+2 −2
Original line number Diff line number Diff line
@@ -1041,7 +1041,7 @@ static const struct resource_caps res_cap_nv14 = {
};

static const struct dc_debug_options debug_defaults_drv = {
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = false,
		.clock_trace = true,
@@ -1060,7 +1060,7 @@ static const struct dc_debug_options debug_defaults_drv = {
};

static const struct dc_debug_options debug_defaults_diags = {
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = true,
		.clock_trace = true,
+2 −2
Original line number Diff line number Diff line
@@ -855,7 +855,7 @@ static const struct dc_plane_cap plane_cap = {
};

static const struct dc_debug_options debug_defaults_drv = {
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = false,
		.clock_trace = true,
@@ -876,7 +876,7 @@ static const struct dc_debug_options debug_defaults_drv = {
};

static const struct dc_debug_options debug_defaults_diags = {
		.disable_dmcu = true,
		.disable_dmcu = false,
		.force_abm_enable = false,
		.timing_trace = true,
		.clock_trace = true,