diff mbox series

drm/i915/psr: Apply Wa_14015648006 for all display 14 steppings

Message ID 20230829094435.2100669-1-jouni.hogander@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/psr: Apply Wa_14015648006 for all display 14 steppings | expand

Commit Message

Hogander, Jouni Aug. 29, 2023, 9:44 a.m. UTC
According to recent Bspec Wa 14015648006 has to be applied for all display
14 steppings.

Bspec: 66624

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Matt Roper Aug. 29, 2023, 11:44 p.m. UTC | #1
On Tue, Aug 29, 2023 at 12:44:35PM +0300, Jouni Högander wrote:
> According to recent Bspec Wa 14015648006 has to be applied for all display
> 14 steppings.
> 
> Bspec: 66624
> 
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>

and applied to drm-intel-next.  Thanks for the patch.


Matt

> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 887d0b77ae9a..f03634750669 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1360,8 +1360,7 @@ static void wm_optimization_wa(struct intel_dp *intel_dp,
>  	bool set_wa_bit = false;
>  
>  	/* Wa_14015648006 */
> -	if (IS_DISPLAY_IP_STEP(dev_priv, IP_VER(14, 0), STEP_A0, STEP_B0) ||
> -	    IS_DISPLAY_VER(dev_priv, 11, 13))
> +	if (IS_DISPLAY_VER(dev_priv, 11, 14))
>  		set_wa_bit |= crtc_state->wm_level_disabled;
>  
>  	/* Wa_16013835468 */
> -- 
> 2.34.1
>
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 887d0b77ae9a..f03634750669 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1360,8 +1360,7 @@  static void wm_optimization_wa(struct intel_dp *intel_dp,
 	bool set_wa_bit = false;
 
 	/* Wa_14015648006 */
-	if (IS_DISPLAY_IP_STEP(dev_priv, IP_VER(14, 0), STEP_A0, STEP_B0) ||
-	    IS_DISPLAY_VER(dev_priv, 11, 13))
+	if (IS_DISPLAY_VER(dev_priv, 11, 14))
 		set_wa_bit |= crtc_state->wm_level_disabled;
 
 	/* Wa_16013835468 */