1. 08 Nov, 2013 2 commits
    • Ville Syrjälä's avatar
      drm/i915: Make AGP support optional · 00fe639a
      Ville Syrjälä authored
      We only depend on the intel-gtt module for GTT frobbign on older gens.
      The intel_agp module is optional, except for UMS and some old XvMC
      userland on gen3. So make AGP support optional. As before, we will
      fail the i915 init for UMS and gen3 KMS the same as before if
      intel_agp isn't around.
      
      intel-gtt.c is left with a somewhat ugly ifdef mess, but I'm going
      to save that for a later cleaning.
      
      At least my gen2 still works with the patch and CONFIG_AGP=n.
      
      v2: Make i915 depend on X86 and PCI, and intel-gtt depend on PCI
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      00fe639a
    • Chon Ming Lee's avatar
      drm/i915/vlv: Rename VLV DPIO register to be more structure to match configdb document. · ab3c759a
      Chon Ming Lee authored
      Some VLV PHY/PLL DPIO registers have group/lane/channel access.  Current
      DPIO register definition doesn't have a structure way to break them
      down. As a result it is not easy to match the PHY/PLL registers with the
      configdb document.  Rename those registers based on the configdb for easy
      cross references, and without the need to check the offset in the header
      file.
      
      New format is as following.
      
      <platform name>_<DPIO component><optional lane #>_DW<dword # in the
      doc>_<optional channel #>
      
      For example,
      
      VLV_PCS_DW0 - Group access to PCS for lane 0 to 3 for PCS DWORD 0.
      VLV_PCS01_DW0_CH0 - PCS access to lane 0/1, channel 0 for PCS DWORD 0.
      
      Another example is
      
      VLV_TX_DW0 - Group access to TX lane 0 to 3 for TX DWORD 0
      VLV_TX0_DW0 - Refer to TX Lane 0 access only for TX DWORD 0.
      
      There is no functional change on this patch.
      
      v2: Rebase based on previous patch change.
      v3: There may be configdb different version that document the start DW
      differently. Add a comment to clarify.  Fix up some mismatch start DW
      for second PLL block. (Ville)
      Suggested-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarChon Ming Lee <chon.ming.lee@intel.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      ab3c759a
  2. 07 Nov, 2013 8 commits
  3. 06 Nov, 2013 3 commits
  4. 05 Nov, 2013 5 commits
  5. 04 Nov, 2013 3 commits
    • Daniel Vetter's avatar
      drm/i915/ns2501: Rip out the reenable hack · c77ba21d
      Daniel Vetter authored
      With the change in the modeset sequence this shouldn't be required
      any more since the ->mode_set callback now gets called when the dvo
      port is fully up and running.
      
      Also limit the retry loop to 10 tries to avoid hanging the machine
      while holding important modeset locks.
      
      Cc: Thomas Richter <thor@math.tu-berlin.de>
      Tested-by: default avatarThomas Richter <thor@math.tu-berlin.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      c77ba21d
    • Daniel Vetter's avatar
      drm/i915/dvo: call ->mode_set callback only when the port is running · 48f34e10
      Daniel Vetter authored
      The ns2501 controller seems to need the dpll and dvo port to accept
      the timing update commands. Quick testing on my x30 here seems to
      indicate that other dvo controllers don't mind. So let's move the
      ->mode_set callback to a place where we have the port up and running
      already.
      Tested-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Tested-by: default avatarThomas Richter <thor@math.tu-berlin.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      48f34e10
    • Daniel Vetter's avatar
      Merge tag 'v3.12' into drm-intel-next · 7f16e5c1
      Daniel Vetter authored
      I want to merge in the new Broadwell support as a late hw enabling
      pull request. But since the internal branch was based upon our
      drm-intel-nightly integration branch I need to resolve all the
      oustanding conflicts in drm/i915 with a backmerge to make the 60+
      patches apply properly.
      
      We'll propably have some fun because Linus will come up with a
      slightly different merge solution.
      
      Conflicts:
      	drivers/gpu/drm/i915/i915_dma.c
      	drivers/gpu/drm/i915/i915_drv.c
      	drivers/gpu/drm/i915/intel_crt.c
      	drivers/gpu/drm/i915/intel_ddi.c
      	drivers/gpu/drm/i915/intel_display.c
      	drivers/gpu/drm/i915/intel_dp.c
      	drivers/gpu/drm/i915/intel_drv.h
      
      All rather simple adjacent lines changed or partial backports from
      -next to -fixes, with the exception of the thaw code in i915_dma.c.
      That one needed a bit of shuffling to restore the intent.
      
      Oh and the massive header file reordering in intel_drv.h is a bit
      trouble. But not much.
      
      v2: Also don't forget the fixup for the silent conflict that results
      in compile fail ...
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      7f16e5c1
  6. 03 Nov, 2013 3 commits
  7. 02 Nov, 2013 2 commits
  8. 01 Nov, 2013 14 commits