Commit fea0f581 authored by Anthony Koo's avatar Anthony Koo Committed by Alex Deucher
Browse files

drm/amd/display: Temporary disable BTR FreeSync support for now



Reduce timer tick interval for the static screen

Signed-off-by: default avatarAnthony Koo <anthony.koo@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ba326a91
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -436,10 +436,13 @@ static void calc_freesync_range(struct core_freesync *core_freesync,
	}

	/* Determine whether BTR can be supported */
	if (max_frame_duration_in_ns >=
			2 * min_frame_duration_in_ns)
		core_freesync->map[index].caps->btr_supported = true;
	else
	//if (max_frame_duration_in_ns >=
	//		2 * min_frame_duration_in_ns)
	//	core_freesync->map[index].caps->btr_supported = true;
	//else
	//	core_freesync->map[index].caps->btr_supported = false;

	/* Temp, keep btr disabled */
	core_freesync->map[index].caps->btr_supported = false;

	/* Cache the time variables */