drm/i915/cnl: Fix RMW on ddi vswing sequence.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Jun 2017 18:39:32 +0000 (11:39 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Jun 2017 21:06:20 +0000 (14:06 -0700)
commit1f588aeb60b4412019546ce596f179635abc2ac3
treef04a395ee3d924def80f8622a775180e55b478dc
parent93e5f0b65ab8bf5cfdc699887eb3fbd877e252d9
drm/i915/cnl: Fix RMW on ddi vswing sequence.

Paulo noticed that we were missing few bits clear
before writing values back to the register on
these RMW MMIO operations.

v2: Remove "POST_" from CURSOR_COEFF_MASK. (Paulo).
v3: Remove unnecessary braces. (Jani).

Fixes: cf54ca8bc567 ("drm/i915/cnl: Implement voltage swing sequence.")
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1497897572-22520-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c