drm/i915: Set up PIPE_MISC truncate bit on tgl+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Feb 2020 16:30:54 +0000 (18:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Feb 2020 19:14:33 +0000 (21:14 +0200)
commit041be4811f981dca9db1bcd5ac89d0243ef134f9
treef6109ea6f7625fd9894e43aae1ae24549d97c3dc
parent945fa3bc9dfd0f09fa8cf13602b231ae0a898fff
drm/i915: Set up PIPE_MISC truncate bit on tgl+

Looks like the pipe rounding mode bit has moved from PIPE_CHICKEN to
PIPE_MISC on tgl. Frob the new location.

Bspec does still document the old bits as well, so I left the code
for them as is until we get clarification from the hw folks on
whether the old bits still do something useful.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226163054.9509-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