[Intel-gfx] [PATCH 3/7] drm/i915: Print wm changes if sagv_wm0 changes
Lisovskiy, Stanislav
stanislav.lisovskiy at intel.com
Mon Mar 1 09:14:54 UTC 2021
On Fri, Feb 26, 2021 at 05:32:00PM +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Let's consider sagv_wm0 as well when deciding whether to dump
> out the watermark changes.
>
> Cc: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> drivers/gpu/drm/i915/intel_pm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index c341fa957884..06c54adc609a 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -5647,7 +5647,8 @@ static bool skl_plane_wm_equals(struct drm_i915_private *dev_priv,
> return false;
> }
>
> - return skl_wm_level_equals(&wm1->trans_wm, &wm2->trans_wm);
> + return skl_wm_level_equals(&wm1->trans_wm, &wm2->trans_wm) &&
> + skl_wm_level_equals(&wm1->sagv_wm0, &wm2->sagv_wm0);
> }
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
>
> static bool skl_ddb_entries_overlap(const struct skl_ddb_entry *a,
> --
> 2.26.2
>
More information about the Intel-gfx
mailing list