Commit f5c78386 authored by Sridevi Arvindekar's avatar Sridevi Arvindekar Committed by Alex Deucher

drm/amd/display: Add option to allow transition when odm is forced

Added option to allow transition for forced odm.
Add the variation to the nightly run.
Reviewed-by: default avatarWenjing Liu <wenjing.liu@amd.com>
Signed-off-by: default avatarJerry Zuo <jerry.zuo@amd.com>
Signed-off-by: default avatarSridevi Arvindekar <sarvinde@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 21878404
......@@ -4338,7 +4338,8 @@ static void backup_and_set_minimal_pipe_split_policy(struct dc *dc,
dc->debug.force_disable_subvp = true;
for (i = 0; i < context->stream_count; i++) {
policy->force_odm[i] = context->streams[i]->debug.force_odm_combine_segments;
context->streams[i]->debug.force_odm_combine_segments = 0;
if (context->streams[i]->debug.allow_transition_for_forced_odm)
context->streams[i]->debug.force_odm_combine_segments = 0;
}
}
......
......@@ -159,6 +159,12 @@ struct test_pattern {
struct dc_stream_debug_options {
char force_odm_combine_segments;
/*
* When force_odm_combine_segments is non zero, allow dc to
* temporarily transition to ODM bypass when minimal transition state
* is required to prevent visual glitches showing on the screen
*/
char allow_transition_for_forced_odm;
};
#define LUMINANCE_DATA_TABLE_SIZE 10
......
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