• I
    drm/i915: support for multiple power wells · c1ca727f
    Imre Deak 提交于
    HW generations so far had only one always-on power well and optionally
    one dynamic power well. Upcoming HW gens may have multiple dynamic power
    wells, so add some infrastructure to support them.
    
    The idea is to keep the existing power domain API used by the rest of
    the driver and create a mapping between these power domains and the
    underlying power wells. This mapping can differ from one HW to another
    but high level driver code doesn't need to know about this. Through the
    existing get/put API it would just ask for a given power domain and the
    power domain framework would make sure the relevant power wells get
    enabled in the right order.
    Signed-off-by: NImre Deak <imre.deak@intel.com>
    Reviewed-by: NPaulo Zanoni <paulo.zanoni@intel.com>
    Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
    c1ca727f
intel_pm.c 172.2 KB