[Intel-gfx] [PATCH v2 0/5] Do not re-read dpll registers
Lucas De Marchi
lucas.demarchi at intel.com
Fri Mar 22 22:37:46 UTC 2019
v2 of https://patchwork.freedesktop.org/series/58382/
Instead of re-reading the registers we just read on the hw state
readout, use the values saved on intel_shared_dpll. Besides not doing
the MMIO, this helps on sharing code since we don't have to
differentiate e.g. ICL and CNL because they have different registers for
the same thing.
Lucas De Marchi (5):
drm/i915/skl: use previous pll hw readout
drm/i915/bxt: make bxt_calc_pll_link() similar to skl
drm/i915/cnl: use previous pll hw readout
drm/i915/icl: use previous pll hw readout
drm/i915/icl: reduce pll_id scope and use enum type
drivers/gpu/drm/i915/icl_dsi.c | 5 +-
drivers/gpu/drm/i915/intel_ddi.c | 160 +++++++++++++------------------
drivers/gpu/drm/i915/intel_drv.h | 2 +-
3 files changed, 70 insertions(+), 97 deletions(-)
--
2.20.1
More information about the Intel-gfx
mailing list