mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
drm/i915/psr: s/intel_psr_min_vblank_delay/intel_psr_min_set_context_latency
Rename intel_psr_min_vblank_delay to intel_psr_min_set_context_latency to reflect that it provides the minimum value for 'Set context latency'(SCL or Window W2) for PSR/Panel Replay to work correctly across different platforms. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/20250924141542.3122126-2-ankit.k.nautiyal@intel.com
This commit is contained in:
parent
c2e04017fb
commit
6131428a47
|
|
@ -2369,7 +2369,7 @@ static int intel_crtc_vblank_delay(const struct intel_crtc_state *crtc_state)
|
|||
if (!HAS_DSB(display))
|
||||
return 0;
|
||||
|
||||
vblank_delay = max(vblank_delay, intel_psr_min_vblank_delay(crtc_state));
|
||||
vblank_delay = max(vblank_delay, intel_psr_min_set_context_latency(crtc_state));
|
||||
|
||||
return vblank_delay;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2360,12 +2360,12 @@ void intel_psr_trigger_frame_change_event(struct intel_dsb *dsb,
|
|||
}
|
||||
|
||||
/**
|
||||
* intel_psr_min_vblank_delay - Minimum vblank delay needed by PSR
|
||||
* intel_psr_min_set_context_latency - Minimum 'set context latency' lines needed by PSR
|
||||
* @crtc_state: the crtc state
|
||||
*
|
||||
* Return minimum vblank delay needed by PSR.
|
||||
* Return minimum SCL lines/delay needed by PSR.
|
||||
*/
|
||||
int intel_psr_min_vblank_delay(const struct intel_crtc_state *crtc_state)
|
||||
int intel_psr_min_set_context_latency(const struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
struct intel_display *display = to_intel_display(crtc_state);
|
||||
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ void intel_psr_unlock(const struct intel_crtc_state *crtc_state);
|
|||
void intel_psr_trigger_frame_change_event(struct intel_dsb *dsb,
|
||||
struct intel_atomic_state *state,
|
||||
struct intel_crtc *crtc);
|
||||
int intel_psr_min_vblank_delay(const struct intel_crtc_state *crtc_state);
|
||||
int intel_psr_min_set_context_latency(const struct intel_crtc_state *crtc_state);
|
||||
void intel_psr_connector_debugfs_add(struct intel_connector *connector);
|
||||
void intel_psr_debugfs_register(struct intel_display *display);
|
||||
bool intel_psr_needs_alpm(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user