• Daniel Vetter's avatar
    drm/i915: Unifiy GT powersave suspend logic · 10d8d366
    Daniel Vetter authored
    Jesse's patch to only quiescent our rps work and Imre's fix to address
    a race with runtime pm and the forcewake reference held by the used
    diverging means to address the same bug: Jesse's patch uses
    flush_delayed_work while (since we want to make sure rps is set up)
    while Imre's used a cancel+manuel refcount adjustment.
    
    Unify them again by simply reusing intel_suspend_gt_powersave in
    intel_disable_gt_powersave.
    
    Cc: Imre Deak <imre.deak@intel.com>
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    10d8d366
intel_pm.c 184 KB