drm/i915: Address broxton phy registers based on phy and channel number
Subsystems (2)
PATCH 1/1 drm/i915: Address broxton phy registers based on phy and channel number
In reply to a message not in the archiveThe port registers related to the phys in broxton map to different channels and specific phys. Make that mapping explicit.
v2: Pass enum dpio_phy to macros instead of mmio base. (Imre)
v3: Fix typo in macros. (Imre)
Signed-off-by Ander Conselvan de Oliveira <[email protected]>
--- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_reg.h | 141 ++++++++++++++++++---------------- drivers/gpu/drm/i915/intel_dpio_phy.c | 80 +++++++++++++++---- drivers/gpu/drm/i915/intel_dpll_mgr.c | 84 +++++++++++--------- 4 files changed, 185 insertions(+), 122 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -3735,6 +3735,8 @@ u32 vlv_flisdsi_read(struct drm_i915_private *dev_priv, u32 reg);void vlv_flisdsi_write (struct drm_i915_private *dev_priv,u32 reg,u32 val);/* intel_dpio_phy.c */ +void bxt_port_to_phy_channel (enum port port, +u32 *phy,enum dpio_channel *ch);void bxt_ddi_phy_set_signal_level (struct drm_i915_private *dev_priv,enum port port,u32 margin,u32 scale,u32 enable,u32 deemphasis);
drivers/gpu/drm/i915/i915_reg.h +73 -68
256 lines not on this page · raw message
drivers/gpu/drm/i915/intel_dpio_phy.c +64 -16
156 lines not on this page · raw message
drivers/gpu/drm/i915/intel_dpll_mgr.c +46 -38
188 lines not on this page · raw message
Signature · 6 lines
2.5.5 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx