[PATCH v6 3/7] drm/i915/psr: Add intel_psr_use_trans_push to query if TRANS_PUSH is used

Nautiyal, Ankit K ankit.k.nautiyal at intel.com
Tue Aug 12 09:05:10 UTC 2025


On 7/21/2025 4:44 PM, Jouni Högander wrote:
> This is a preparation patch to start using TRANS_PUSH for PSR "Frame


Lets avoid 'patch' from commit message.

Perhaps can mention that this is just a placeholder for the helper to 
use trans push.


> Change". It adds intel_psr_use_trans_push which return false for now until
> we have everything in place.
>
> Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_psr.c | 5 +++++
>   drivers/gpu/drm/i915/display/intel_psr.h | 1 +
>   2 files changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 4279c28ae27c..d7c19b053fcc 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -4253,3 +4253,8 @@ bool intel_psr_needs_alpm_aux_less(struct intel_dp *intel_dp,
>   {
>   	return intel_dp_is_edp(intel_dp) && crtc_state->has_panel_replay;
>   }
> +
> +bool intel_psr_use_trans_push(const struct intel_crtc_state *crtc_state)
> +{
> +	return false;

Will be good to add #TODO here.


Regards,

Ankit

> +}
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.h b/drivers/gpu/drm/i915/display/intel_psr.h
> index 9b061a22361f..7237dfa388b6 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.h
> +++ b/drivers/gpu/drm/i915/display/intel_psr.h
> @@ -81,5 +81,6 @@ 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);
>   bool intel_psr_needs_alpm_aux_less(struct intel_dp *intel_dp,
>   				   const struct intel_crtc_state *crtc_state);
> +bool intel_psr_use_trans_push(const struct intel_crtc_state *crtc_state);
>   
>   #endif /* __INTEL_PSR_H__ */


More information about the Intel-xe mailing list