drm/i915/adl_p: Implement Wa_22012358565
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 May 2021 17:36:00 +0000 (20:36 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 May 2021 15:12:10 +0000 (18:12 +0300)
commit0b86952d15ceae275f685f9bb571fea30904147f
tree1495fce6e1c6345dc5dadf988cd422934b521326
parentd091fc53eb77f8a2a205b41806cfee5674c6a6ae
drm/i915/adl_p: Implement Wa_22012358565

Implement Wa_22012358565 to avoid underrun with 32bpp cursor
in some high bandwidth scenarios. The implementation calls for
overriding the arbitration slots for the planes.

v2: Fix adlp_plane_ctl_arb_slots() return type

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210526173600.27708-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_cursor.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/skl_universal_plane.c
drivers/gpu/drm/i915/i915_reg.h