• Imre Deak's avatar
    drm/i915: support for multiple power wells · c1ca727f
    Imre Deak authored
    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: default avatarImre Deak <imre.deak@intel.com>
    Reviewed-by: default avatarPaulo Zanoni <paulo.zanoni@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    c1ca727f
intel_pm.c 172 KB