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

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
...@@ -570,7 +570,7 @@ static const struct dc_plane_cap plane_cap = { ...@@ -570,7 +570,7 @@ static const struct dc_plane_cap plane_cap = {
static const struct dc_debug_options debug_defaults_drv = { static const struct dc_debug_options debug_defaults_drv = {
.sanity_checks = true, .sanity_checks = true,
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = false, .timing_trace = false,
.clock_trace = true, .clock_trace = true,
...@@ -598,7 +598,7 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -598,7 +598,7 @@ static const struct dc_debug_options debug_defaults_drv = {
}; };
static const struct dc_debug_options debug_defaults_diags = { static const struct dc_debug_options debug_defaults_diags = {
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = true, .timing_trace = true,
.clock_trace = true, .clock_trace = true,
......
...@@ -1041,7 +1041,7 @@ static const struct resource_caps res_cap_nv14 = { ...@@ -1041,7 +1041,7 @@ static const struct resource_caps res_cap_nv14 = {
}; };
static const struct dc_debug_options debug_defaults_drv = { static const struct dc_debug_options debug_defaults_drv = {
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = false, .timing_trace = false,
.clock_trace = true, .clock_trace = true,
...@@ -1060,7 +1060,7 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -1060,7 +1060,7 @@ static const struct dc_debug_options debug_defaults_drv = {
}; };
static const struct dc_debug_options debug_defaults_diags = { static const struct dc_debug_options debug_defaults_diags = {
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = true, .timing_trace = true,
.clock_trace = true, .clock_trace = true,
......
...@@ -855,7 +855,7 @@ static const struct dc_plane_cap plane_cap = { ...@@ -855,7 +855,7 @@ static const struct dc_plane_cap plane_cap = {
}; };
static const struct dc_debug_options debug_defaults_drv = { static const struct dc_debug_options debug_defaults_drv = {
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = false, .timing_trace = false,
.clock_trace = true, .clock_trace = true,
...@@ -876,7 +876,7 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -876,7 +876,7 @@ static const struct dc_debug_options debug_defaults_drv = {
}; };
static const struct dc_debug_options debug_defaults_diags = { static const struct dc_debug_options debug_defaults_diags = {
.disable_dmcu = true, .disable_dmcu = false,
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = true, .timing_trace = true,
.clock_trace = true, .clock_trace = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment