• Daniel Vetter's avatar
    drm/i915: extract ums suspend/resume into i915_ums.c · d8157a36
    Daniel Vetter authored
    Similarly to how i915_dma.c is shaping up to be the dungeon hole for
    all things supporting dri1, create a new one to hide all the crazy
    things which are only really useful for ums support. Biggest part is
    the register suspend/resume support.
    
    Unfortunately a lot of it is still intermingled with bits and pieces
    we might still need, so needs more analysis and needs to stay in
    i915_suspend.c for now.
    Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
    
    v2: s/modeset_reg/display_reg/ as suggested by Imre, to avoid
    confusion between the kernel modeset code and display save/restore to
    support ums.
    
    v3: Fixup alphabetical order in the Makefile, spotted by Chris Wilson.
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    d8157a36
i915_drv.h 57.5 KB