drm/i915/icl: Fix CRC mismatch error for DP link layer compliance
authorAditya Swarup <aditya.swarup@intel.com>
Thu, 7 Mar 2019 02:14:12 +0000 (18:14 -0800)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 11 Mar 2019 09:56:47 +0000 (10:56 +0100)
commit26eeea1506838c77524fa90c8e6f1cc246762a4a
tree223e8c7b0dac210b8377cdfcd518635a2d6db5c7
parentf4ecb8ae70de86710e85138ce49af5c689951953
drm/i915/icl: Fix CRC mismatch error for DP link layer compliance

Setting the pixel rounding bit to 1 in PIPE_CHICKEN register allows
to passthrough FB pixels unmodified across pipe. This fixes the failures
for DP link layer compliance tests 4.4.1.1, 4.4.1.2 & 4.4.1.3.
(Lineage #1605353570)

v2: This is also needed to fix failing IGT test case kms_cursor_crc on
ICL.(Mika Kahola)
Make macros consistent with i915_reg.h comments.(Jani Nikula)

Cc: Clint Taylor <clinton.a.taylor@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190307021412.18626-1-aditya.swarup@intel.com
References: https://bugs.freedesktop.org/show_bug.cgi?id=103232
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c