disp: msm: sde: pass disp info to setup vsync source
While setting up vsync source, display info is used to decide whether or not watchdog TE should be used. This change passes display info as a parameter to vsync setup rather than using the encoder's display info which is not updated in the case of panel dead error. Change-Id: I928ee2012eec7bf63f4ba3538082bc3e47d5e99d Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -1342,7 +1342,7 @@ static void _sde_encoder_update_vsync_source(struct sde_encoder_virt *sde_enc,
|
||||
phys = sde_enc->phys_encs[i];
|
||||
|
||||
if (phys && phys->ops.setup_vsync_source)
|
||||
phys->ops.setup_vsync_source(phys, vsync_source);
|
||||
phys->ops.setup_vsync_source(phys, vsync_source, disp_info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user