• Daniel Vetter's avatar
    drm/i915: don't call modeset_init_hw in i915_reset · 8e88a2bd
    Daniel Vetter authored
    It seems to blow up my ilk in all kinds of strange ways. And now that
    we're no longer resetting the entire modeset state, it shouldn't be
    necessary any longer.
    
    This essentially reverts
    
    commit f817586c
    Author: Daniel Vetter <daniel.vetter@ffwll.ch>
    Date:   Tue Apr 10 15:50:11 2012 +0200
    
        drm/i915: re-init modeset hw state after gpu reset
    
    safe for the introduction of modeset_init_hw, that one is nice to
    prevent code duplication between driver load and resume.
    
    v2: Add a comment to the code to warn future travellers of the dragon
    dungeon ahead, suggested by Chris Wilson.
    Acked-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    8e88a2bd
i915_drv.c 32.6 KB