diff options
author | Mahesh Kumar <mahesh1.kumar@intel.com> | 2018-03-14 13:36:52 +0530 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-03-14 14:36:56 -0700 |
commit | 4635b573634c7028043244dbc1141ef57341deb2 (patch) | |
tree | 96e366fd17fea097ae7d03408fa95849cf6694df /drivers/gpu/drm/i915/intel_engine_cs.c | |
parent | ad055fb8e010e4ff37f66aeed1d380329bddce67 (diff) |
drm/i915/cnl; Add macro to get PORT_TX register
This patch creates a new macro to get PORT_TX register for any given DW.
This removes the need of defining register address for each port & DW.
Changes since V1:
- Use underscope prefix, as macro isn't returning an mmio reg(Lucas)
- Merge patch 1 & 2 of the series
Changes since V2:
- remove _MMIO_PORT6_LN macro (Rodrigo)
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180314080653.9444-2-mahesh1.kumar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_engine_cs.c')
0 files changed, 0 insertions, 0 deletions