mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
drm/amd/display: Various DML2 fixes for FAMS2
The disable fams2 operation was reworked, but some of the old code remained. This commit removes the disable_fams2_drr from the dml2_stream_parameters. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3237403b98
commit
58ed441367
@ -410,7 +410,6 @@ struct dml2_stream_parameters {
|
||||
enum dml2_odm_mode odm_mode;
|
||||
bool disable_dynamic_odm;
|
||||
bool disable_subvp;
|
||||
bool disable_fams2_drr;
|
||||
int minimum_vblank_idle_requirement_us;
|
||||
bool minimize_active_latency_hiding;
|
||||
|
||||
|
@ -1012,7 +1012,7 @@ static bool all_timings_support_drr(const struct dml2_pmo_instance *pmo,
|
||||
stream_descriptor = &display_config->display_config.stream_descriptors[i];
|
||||
stream_fams2_meta = &pmo->scratch.pmo_dcn4.stream_fams2_meta[i];
|
||||
|
||||
if (!stream_descriptor->timing.drr_config.enabled || stream_descriptor->overrides.disable_fams2_drr)
|
||||
if (!stream_descriptor->timing.drr_config.enabled)
|
||||
return false;
|
||||
|
||||
/* cannot support required vtotal */
|
||||
|
Loading…
Reference in New Issue
Block a user