diff mbox series

[1/2] drm/i915/display/psr: Set partial frame enable when forcing full frame fetch

Message ID 20220324181347.129378-1-jose.souza@intel.com (mailing list archive)
State New, archived
Headers show
Series [1/2] drm/i915/display/psr: Set partial frame enable when forcing full frame fetch | expand

Commit Message

Souza, Jose March 24, 2022, 6:13 p.m. UTC
Following up what was done in commit 804f46885317 ("drm/i915/psr: Set
"SF Partial Frame Enable" also on full update") and also setting
partial frame enable when psr_force_hw_tracking_exit() is called.

Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Hogander, Jouni March 25, 2022, 9:04 a.m. UTC | #1
On Thu, 2022-03-24 at 11:13 -0700, José Roberto de Souza wrote:
> Following up what was done in commit 804f46885317 ("drm/i915/psr: Set
> "SF Partial Frame Enable" also on full update") and also setting
> partial frame enable when psr_force_hw_tracking_exit() is called.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>

> Cc: Jouni Högander <jouni.hogander@intel.com>
> Cc: Mika Kahola <mika.kahola@intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> b/drivers/gpu/drm/i915/display/intel_psr.c
> index 80002ca6a6ebe..d87b357806c91 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1457,7 +1457,8 @@ static void psr_force_hw_tracking_exit(struct
> intel_dp *intel_dp)
>  	if (intel_dp->psr.psr2_sel_fetch_enabled)
>  		intel_de_rmw(dev_priv,
>  			     PSR2_MAN_TRK_CTL(intel_dp-
> >psr.transcoder), 0,
> -			     man_trk_ctl_single_full_frame_bit_get(dev_
> priv));
> +			     man_trk_ctl_single_full_frame_bit_get(dev_
> priv) |
> +			     man_trk_ctl_partial_frame_bit_get(dev_priv
> ));
>  
>  	/*
>  	 * Display WA #0884: skl+
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 80002ca6a6ebe..d87b357806c91 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1457,7 +1457,8 @@  static void psr_force_hw_tracking_exit(struct intel_dp *intel_dp)
 	if (intel_dp->psr.psr2_sel_fetch_enabled)
 		intel_de_rmw(dev_priv,
 			     PSR2_MAN_TRK_CTL(intel_dp->psr.transcoder), 0,
-			     man_trk_ctl_single_full_frame_bit_get(dev_priv));
+			     man_trk_ctl_single_full_frame_bit_get(dev_priv) |
+			     man_trk_ctl_partial_frame_bit_get(dev_priv));
 
 	/*
 	 * Display WA #0884: skl+