1. 05 Dec, 2013 1 commit
  2. 04 Dec, 2013 8 commits
  3. 03 Dec, 2013 5 commits
  4. 02 Dec, 2013 1 commit
    • Daniel Vetter's avatar
      drm/i915/lvds: don't restore hw state in the lid notifier for pch platforms · 5be19d91
      Daniel Vetter authored
      It's a pain for two reasons:
      - The vga plane redisablign requires actual legacy vgao i/o to pull
        of. The hw engineers really botched this one here :(
      - There seem to be some BIOS out there which send out lid events when
        unplugging. Together with our broken DP code, which disables the
        port when the cable is lost, this results in an immediate modeset
        call, which can hang on the wait for outstanding flips.
      - Also we don't want to force a modeset on machines where it's not
        really needed, see the referenced bug.
      
      We might want to extend this in general to also all machines that
      support opregion, since there the BIOS supposedly should manage the
      gfx hardware more cooperatively.
      
      v2: Pimp commit message a bit.
      
      Cc: Roland Dreier <roland@kernel.org>
      References: https://bugs.freedesktop.org/show_bug.cgi?id=65486Acked-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5be19d91
  5. 29 Nov, 2013 1 commit
  6. 28 Nov, 2013 13 commits
  7. 27 Nov, 2013 1 commit
    • Chris Wilson's avatar
      drm/i915: Do not attempt to re-enable an unconnected primary plane · 947fdaad
      Chris Wilson authored
      Due to user fudging (for instance using video=VGA-1:e with FBDEV=n) we can
      attempt to reset an inconsistent CRTC that is marked as active but has
      no assigned fb. It would be wise to fix this earlier, but the long
      term plan is to have primary and secondary planes associated with a
      CRTC, in which crtc->fb being NULL will be expected. So for a quick
      short term fix with pretensions of grandeur, just check for a NULL fb
      during GPU reset and ignore the plane restoration.
      
      This fixes a potential hard hang (a panic in the panic handler)
      following a GPU hang.
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      [danvet: Add a corresponding fixme comment.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      947fdaad
  8. 26 Nov, 2013 10 commits