Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
aconnector->min_vfreq * 1000000;
config.max_refresh_in_uhz =
aconnector->max_vfreq * 1000000;
+ config.vsif_supported = true;
}
mod_freesync_build_vrr_params(dm->freesync_module,
/* Check if Freesync is supported. Return if false. If true,
* set the corresponding bit in the info packet
*/
- if (!vrr->supported)
+ if (!vrr->supported || !vrr->send_vsif)
return;
if (dc_is_hdmi_signal(stream->signal)) {
return;
in_out_vrr->state = in_config->state;
+ in_out_vrr->send_vsif = in_config->vsif_supported;
if (in_config->state == VRR_STATE_UNSUPPORTED) {
in_out_vrr->state = VRR_STATE_UNSUPPORTED;
struct mod_freesync_config {
enum mod_vrr_state state;
+ bool vsif_supported;
bool ramping;
bool btr;
unsigned int min_refresh_in_uhz;
struct mod_vrr_params {
bool supported;
+ bool send_vsif;
enum mod_vrr_state state;
uint32_t min_refresh_in_uhz;