]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/icl: Define TRANS_DSI_FUNC_CONF register
authorMadhav Chauhan <madhav.chauhan@intel.com>
Mon, 15 Oct 2018 14:27:58 +0000 (17:27 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Oct 2018 06:45:10 +0000 (09:45 +0300)
commit5ffce2546233e0adeb48c752e4e828acd0a4a4a0
tree7ed9aac110560292b22d1a75a2b87b5f6935f0d5
parent292272ee7e9e41ec2e1734810ab16cee43731874
drm/i915/icl: Define TRANS_DSI_FUNC_CONF register

This patch defines transcoder function configuration
registers and its bitfields for both DSI ports.
Used while programming/enabling DSI transcoder.

v2: Changes (Jani N)
    - Define _SHIFT and _MASK for bitfields
    - Define values for fields already shifted in place

v3 by Jani:
 - Fix _SHIFT fields copy-pasted from _MASK
 - Indentation fixes
 - Reduce S3D orientation to single macro
 - Wrap a macro parameter in parens

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f188d3e59f27cbcac87d331af3d0222249db7fe4.1539613303.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_reg.h