mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 05:38:28 +07:00
drm/amd/display: Temporary disable BTR FreeSync support for now
Reduce timer tick interval for the static screen Signed-off-by: Anthony Koo <anthony.koo@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ba326a9185
commit
fea0f581ab
@ -436,11 +436,14 @@ 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
|
||||
core_freesync->map[index].caps->btr_supported = false;
|
||||
//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 */
|
||||
state->time.max_render_time_in_us =
|
||||
|
Loading…
Reference in New Issue
Block a user