drm/i915: Implement display WA #1142:kbl,cfl,cml
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Sep 2020 19:48:10 +0000 (22:48 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 30 Sep 2020 23:14:52 +0000 (02:14 +0300)
commit562ad8add4064fb804e8067db2c3d4716b8274ba
treea5955947da37437880a53b7fed82f1a206674024
parent0dbacc89555305f2c4526b725da5e3aea64c8352
drm/i915: Implement display WA #1142:kbl,cfl,cml

Implement display w/a #1142. This supposedly fixes some underruns
with FBC+VTd. Bspec says we should use the same programming regardless
of circumstances. Apparently we should flip the magic bits before
turning on any planes so let's put this into the early w/as.

Cc: Lee Shawn C <shawn.c.lee@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200924194810.10293-1-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/i915_reg.h