drm/i915: Fix transposed arguments to skl_plane_wm_level()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Mar 2021 00:44:14 +0000 (02:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 26 Mar 2021 01:25:10 +0000 (03:25 +0200)
commit93fe86281259cffe99e84aa945d71497cb7a727f
treef7d91278d9824990dc9888f0ac7859154d2f8d85
parent989634fb49ad070671b5a4714d178d238f493868
drm/i915: Fix transposed arguments to skl_plane_wm_level()

Accidentally transposed the arguments to skl_plane_wm_level()
which is causing us to mistakenly think that the plane watermarks
have/have not changed when the opposite may be true. Swap the
arguments so this actually works.

The other uses of this look OK.

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fixes: 2871b2fde449 ("drm/i915: Fix TGL+ plane SAGV watermark programming")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325004415.17432-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/intel_pm.c