Commit 259873e1 authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher
Browse files

drm/amd/display: stop adjusting scl taps when scl ratio is one on dcn

parent 30406ff8
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -851,6 +851,7 @@ static bool transform_get_optimal_number_of_taps(
	else
		scl_data->taps.h_taps_c = in_taps->h_taps_c;

	if (!xfm->ctx->dc->debug.always_scale) {
		if (IDENTITY_RATIO(scl_data->ratios.horz))
			scl_data->taps.h_taps = 1;
		if (IDENTITY_RATIO(scl_data->ratios.vert))
@@ -859,6 +860,7 @@ static bool transform_get_optimal_number_of_taps(
			scl_data->taps.h_taps_c = 1;
		if (IDENTITY_RATIO(scl_data->ratios.vert_c))
			scl_data->taps.v_taps_c = 1;
	}

	return true;
}