drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 19 Mar 2019 22:18:47 +0000 (15:18 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Wed, 20 Mar 2019 19:08:40 +0000 (12:08 -0700)
commit7264aebb81d15aa6bbed650c816bba90f026bc35
tree87baeb769bde7cfd8ec23a2e15b7b416734878c8
parent6e514e371757a62996881e94dd2a488b3e16d518
drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro

This patch fixes the PORT_SYNC_MODE_MASTER_SELECT macro
to correctly do the left shifting to set the port sync
master select correctly.
I have tested this fix on ICL.

Fixes: 49edbd49786e ("drm/i915/icl: Define TRANS_DDI_FUNC_CTL DSI registers")
Cc: Madhav Chauhan <madhav.chauhan@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: <stable@vger.kernel.org> # v5.0+
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190319221847.21311-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/i915_reg.h