drm/i915: W/A for underruns with WM1+ disabled on icl
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Feb 2019 20:22:32 +0000 (22:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 19:58:11 +0000 (21:58 +0200)
commitbf002c100740f4ae01d0d86b44f65a712ee14031
tree2e6269e9475ea32c8f2901accaa7cca1286b01e0
parent108d14bdaef67617412af3f40256810281464425
drm/i915: W/A for underruns with WM1+ disabled on icl

Disabling WM1+ on ICL causes tons of underruns with
linear/X-tiled framebuffers. We can avoid this by flipping
on a chicken bit affecting the way the hw fill the FIFO.
This may not be the final solution but should hopefully
avoid some underruns in the meantime.

v2: Apparently PIPE_CHICKEN is icl+ only

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190204202232.27153-1-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c