1. 16 Oct, 2013 12 commits
  2. 15 Oct, 2013 17 commits
  3. 14 Oct, 2013 8 commits
  4. 11 Oct, 2013 3 commits
    • Ville Syrjälä's avatar
      drm/i915: Fix pre-CTG vblank counter · 391f75e2
      Ville Syrjälä authored
      The old style frame counter increments at the start of active video.
      However for i915_get_vblank_counter() we want a counter that increments
      at the start of vblank.
      
      Fortunately the low frame counter register also contains the pixel
      counter for the current frame. We can can compare that against the
      vblank start pixel count to determine if we need to increment the
      frame counter by 1 to get the correct answer.
      
      Also reorganize the function pointer assignments in intel_irq_init() a
      bit to avoid confusing people.
      
      Cc: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: default avatarMario Kleiner <mario.kleiner@tuebingen.mpg.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      391f75e2
    • Daniel Vetter's avatar
      drm/i915: rename intel_fb.c to intel_fbdev.c · 0632fef6
      Daniel Vetter authored
      This file is all about the legacy fbdev support. If we want to extract
      framebuffer functions, we better put those into a separate file.
      
      Also rename functions accordingly, only two have used the intel_fb_
      prefix anyway.
      Reviewed-by: default avatarChon Ming Lee <chon.ming.lee@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      0632fef6
    • Daniel Vetter's avatar
      drm/i915: Kconfig option to disable the legacy fbdev support · 4520f53a
      Daniel Vetter authored
      Boots Just Fine (tm)!
      
      The only glitch seems to be that at least on Fedora the boot splash
      gets confused and doesn't display much at all.
      
      And since there's no ugly console flickering anymore in between, the
      flicker while switching between X servers (VT support is still enabled)
      is even more jarring.
      
      Also, I'm unsure whether we don't need to somehow kick out vgacon, now
      that nothing else gets in the way. But stuff seems to work, so I
      don't care. Also everything still works as well with VGA_CONSOLE=n
      
      Also the #ifdef mess needs a bit of a cleanup, follow-up patches will
      do just that.
      
      To keep the Kconfig tidy, extract all the i915 options into its own
      file.
      
      v2:
      - Rebase on top of the preliminary hw support option and the
        intel_drv.h cleanup.
      - Shut up warnings in i915_debugfs.c
      
      v3: Use the right CONFIG variable, spotted by Chon Ming.
      
      Cc: Lee, Chon Ming <chon.ming.lee@intel.com>
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Reviewed-by: default avatarChon Ming Lee <chon.ming.lee@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      4520f53a