Skip to content

Commit 8e8cadf

Browse files
committed
drm/i915/psr: Rename psr_force_hw_tracking_exit as intel_psr_force_update
psr_force_hw_tracking_exit is misleading name as it is used for PSR1, PSR2 HW tracking and PSR2 selective fetch. Due to this rename it as intel_psr_force_update. Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Animesh Manna <animesh.manna@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250213064804.2077127-3-jouni.hogander@intel.com
1 parent 59f38b6 commit 8e8cadf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/i915/display/intel_psr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,7 @@ static u32 man_trk_ctl_continuos_full_frame(struct intel_display *display)
23242324
PSR2_MAN_TRK_CTL_SF_CONTINUOS_FULL_FRAME;
23252325
}
23262326

2327-
static void psr_force_hw_tracking_exit(struct intel_dp *intel_dp)
2327+
static void intel_psr_force_update(struct intel_dp *intel_dp)
23282328
{
23292329
struct intel_display *display = to_intel_display(intel_dp);
23302330
enum transcoder cpu_transcoder = intel_dp->psr.transcoder;
@@ -2869,7 +2869,7 @@ void intel_psr_post_plane_update(struct intel_atomic_state *state,
28692869

28702870
/* Force a PSR exit when enabling CRC to avoid CRC timeouts */
28712871
if (crtc_state->crc_enabled && psr->enabled)
2872-
psr_force_hw_tracking_exit(intel_dp);
2872+
intel_psr_force_update(intel_dp);
28732873

28742874
/*
28752875
* Clear possible busy bits in case we have
@@ -3266,10 +3266,10 @@ static void _psr_flush_handle(struct intel_dp *intel_dp)
32663266
* continuous full frame is disabled, only a single full
32673267
* frame is required
32683268
*/
3269-
psr_force_hw_tracking_exit(intel_dp);
3269+
intel_psr_force_update(intel_dp);
32703270
}
32713271
} else {
3272-
psr_force_hw_tracking_exit(intel_dp);
3272+
intel_psr_force_update(intel_dp);
32733273

32743274
if (!intel_dp->psr.active && !intel_dp->psr.busy_frontbuffer_bits)
32753275
queue_work(dev_priv->unordered_wq, &intel_dp->psr.work);

0 commit comments

Comments
 (0)