drm/i915/cnl: Fix CNL macros for Voltage Swing programming
authorAditya Swarup <aditya.swarup@intel.com>
Thu, 10 Jan 2019 23:08:44 +0000 (15:08 -0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 15 Jan 2019 09:47:01 +0000 (11:47 +0200)
commitb14c06ec024947eaa35212f2380e90233d5092e0
tree1936212cdef560aac5dfc8344ce231489191b65a
parent8cd999181f8c744c87fb64e7b3600876ec3428b2
drm/i915/cnl: Fix CNL macros for Voltage Swing programming

CNL macros for register groups CNL_PORT_TX_DW2_* / CNL_PORT_TX_DW5_* are
configured incorrectly wrt definition of _CNL_PORT_TX_DW_GRP.

v2: Jani suggested to keep the macros organized semantically i.e., by
function, secondarily by port/pipe/transcoder.->(dw, port)

Fixes: 4e53840fdfdd ("drm/i915/icl: Introduce new macros to get combophy registers")
Cc: Clint Taylor <clinton.a.taylor@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190110230844.9213-1-aditya.swarup@intel.com
drivers/gpu/drm/i915/i915_reg.h