drm/i915/cnl: Fix the CURSOR_COEFF_MASK used in DDI Vswing Programming
authorNavare, Manasi D <manasi.d.navare@intel.com>
Fri, 30 Jun 2017 01:14:01 +0000 (18:14 -0700)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Jul 2017 13:12:57 +0000 (16:12 +0300)
commitc379b897ba1a7f786419e8c36a3438ce856f016a
treef1834bb6c5964635994844c47a5a01ddf6990c86
parent2347728934b501b07bea8b1b6e8fa27a56dc098f
drm/i915/cnl: Fix the CURSOR_COEFF_MASK used in DDI Vswing Programming

The Cursor Coeff is lower 6 bits in the PORT_TX_DW4 register
and hence the CURSOR_COEFF_MASK should be (0x3F << 0)

Fixes: 04416108ccea ("drm/i915/cnl: Add registers related to voltage
swing sequences.")
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1498785241-21138-1-git-send-email-manasi.d.navare@intel.com
(cherry picked from commit fcace3b9b727e25ffa3f7ad2c96e76b8584a9f3e)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_reg.h