drm/i915/glk: Reuse broxton code for geminilake
Geminilake is mostly backwards compatible with broxton, so change most of the IS_BROXTON() checks to IS_GEN9_LP(). Differences between the platforms will be implemented in follow-up patches. v2: Don't reuse broxton's path in intel_update_max_cdclk(). Don't set plane count as in broxton. v3: Rebase v4: Include the check intel_bios_is_port_hpd_inverted(). Commit message. v5: Leave i915_dmc_info() out; glk's csr version != bxt's. (Rodrigo) v6: Rebase. v7: Convert a few mode IS_BROXTON() occurances in pps, ddi, dsi and pll code. (Rodrigo) v8: Squash a couple of DDI patches with more conversions. (Rodrigo) Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by:Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by:
Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1480667037-11215-2-git-send-email-ander.conselvan.de.oliveira@intel.com
Showing
- drivers/gpu/drm/i915/i915_debugfs.c 5 additions, 5 deletionsdrivers/gpu/drm/i915/i915_debugfs.c
- drivers/gpu/drm/i915/i915_gem_gtt.c 4 additions, 4 deletionsdrivers/gpu/drm/i915/i915_gem_gtt.c
- drivers/gpu/drm/i915/i915_irq.c 5 additions, 5 deletionsdrivers/gpu/drm/i915/i915_irq.c
- drivers/gpu/drm/i915/i915_reg.h 2 additions, 2 deletionsdrivers/gpu/drm/i915/i915_reg.h
- drivers/gpu/drm/i915/intel_bios.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_bios.c
- drivers/gpu/drm/i915/intel_ddi.c 13 additions, 13 deletionsdrivers/gpu/drm/i915/intel_ddi.c
- drivers/gpu/drm/i915/intel_display.c 7 additions, 7 deletionsdrivers/gpu/drm/i915/intel_display.c
- drivers/gpu/drm/i915/intel_dp.c 12 additions, 12 deletionsdrivers/gpu/drm/i915/intel_dp.c
- drivers/gpu/drm/i915/intel_dpio_phy.c 0 additions, 1 deletiondrivers/gpu/drm/i915/intel_dpio_phy.c
- drivers/gpu/drm/i915/intel_dpll_mgr.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_dpll_mgr.c
- drivers/gpu/drm/i915/intel_dsi.c 15 additions, 15 deletionsdrivers/gpu/drm/i915/intel_dsi.c
- drivers/gpu/drm/i915/intel_dsi_pll.c 6 additions, 6 deletionsdrivers/gpu/drm/i915/intel_dsi_pll.c
- drivers/gpu/drm/i915/intel_hdmi.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/intel_hdmi.c
- drivers/gpu/drm/i915/intel_i2c.c 2 additions, 2 deletionsdrivers/gpu/drm/i915/intel_i2c.c
- drivers/gpu/drm/i915/intel_mocs.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_mocs.c
- drivers/gpu/drm/i915/intel_panel.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_panel.c
- drivers/gpu/drm/i915/intel_pm.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/intel_pm.c
- drivers/gpu/drm/i915/intel_runtime_pm.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/intel_runtime_pm.c
Loading
Please register or sign in to comment