Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/cnl: Fix PORT_TX_DW5/7 register address

Register Address for CNL_PORT_DW5_LN0_D is 0x162E54, but current code is
defining it as 0x162ED4. Similarly for CNL_PORT_DW7_LN0_D register address
is defined 0x162EDC instead of 0x162E5C, fix it.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Fixes: 04416108ccea ("drm/i915/cnl: Add registers related to voltage swing sequences.")
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180215095643.3844-2-mahesh1.kumar@intel.com

authored by

Mahesh Kumar and committed by
Rodrigo Vivi
e1039626 2e8bf223

+2 -2
+2 -2
drivers/gpu/drm/i915/i915_reg.h
··· 2034 2034 #define _CNL_PORT_TX_DW5_LN0_AE 0x162454 2035 2035 #define _CNL_PORT_TX_DW5_LN0_B 0x162654 2036 2036 #define _CNL_PORT_TX_DW5_LN0_C 0x162C54 2037 - #define _CNL_PORT_TX_DW5_LN0_D 0x162ED4 2037 + #define _CNL_PORT_TX_DW5_LN0_D 0x162E54 2038 2038 #define _CNL_PORT_TX_DW5_LN0_F 0x162854 2039 2039 #define CNL_PORT_TX_DW5_GRP(port) _MMIO_PORT6(port, \ 2040 2040 _CNL_PORT_TX_DW5_GRP_AE, \ ··· 2065 2065 #define _CNL_PORT_TX_DW7_LN0_AE 0x16245C 2066 2066 #define _CNL_PORT_TX_DW7_LN0_B 0x16265C 2067 2067 #define _CNL_PORT_TX_DW7_LN0_C 0x162C5C 2068 - #define _CNL_PORT_TX_DW7_LN0_D 0x162EDC 2068 + #define _CNL_PORT_TX_DW7_LN0_D 0x162E5C 2069 2069 #define _CNL_PORT_TX_DW7_LN0_F 0x16285C 2070 2070 #define CNL_PORT_TX_DW7_GRP(port) _MMIO_PORT6(port, \ 2071 2071 _CNL_PORT_TX_DW7_GRP_AE, \