Commit 40774ad1 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: contional remove disable dig_fifo when blank

keep dig_fifo enable for test pattern generation.
Tested-by: default avatarDaniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: default avatarChris Park <Chris.Park@amd.com>
Acked-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fc41c734
...@@ -873,6 +873,7 @@ struct dc_debug_options { ...@@ -873,6 +873,7 @@ struct dc_debug_options {
unsigned int dsc_delay_factor_wa_x1000; unsigned int dsc_delay_factor_wa_x1000;
unsigned int min_prefetch_in_strobe_ns; unsigned int min_prefetch_in_strobe_ns;
bool disable_unbounded_requesting; bool disable_unbounded_requesting;
bool dig_fifo_off_in_blank;
}; };
struct gpu_info_soc_bounding_box_v1_0; struct gpu_info_soc_bounding_box_v1_0;
......
...@@ -281,7 +281,8 @@ static void enc314_stream_encoder_dp_blank( ...@@ -281,7 +281,8 @@ static void enc314_stream_encoder_dp_blank(
enc1_stream_encoder_dp_blank(link, enc); enc1_stream_encoder_dp_blank(link, enc);
/* Disable FIFO after the DP vid stream is disabled to avoid corruption. */ /* Disable FIFO after the DP vid stream is disabled to avoid corruption. */
enc314_disable_fifo(enc); if (enc->ctx->dc->debug.dig_fifo_off_in_blank)
enc314_disable_fifo(enc);
} }
static void enc314_stream_encoder_dp_unblank( static void enc314_stream_encoder_dp_unblank(
......
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