]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Address broxton phy registers based on phy and channel number
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 19 Oct 2016 07:59:00 +0000 (10:59 +0300)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 28 Oct 2016 09:25:24 +0000 (12:25 +0300)
commit9347cc1f35c66e3da8efeb11e977d42d8a82d21a
treebae9efff3b9c8d87ac17b59266c37afc074f1762
parente44e5a18ca6627f1f824564319c227439f301b06
drm/i915: Address broxton phy registers based on phy and channel number

The 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)

v4: Also change variables from u32 to enum dpio_phy. (Imre)
    Remove leftovers from previous version. (Imre)

v5: Actually git add the changes.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476863940-6019-1-git-send-email-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dpio_phy.c
drivers/gpu/drm/i915/intel_dpll_mgr.c