1. 25 Jun, 2012 3 commits
    • Daniel Vetter's avatar
      drm/i915: make enable/disable_gt_powersave locking consistent · 79f5b2c7
      Daniel Vetter authored
      The enable functions grabbed dev->struct_mutex themselves, whereas
      the disable functions expected dev->struct_mutex to be held by the
      caller. Move the locking out to the (currently only) callsite of
      intel_enable_gt_powersave to make this more consistent.
      
      Originally this was prep work for future patches, but I've chased down
      a totally wrong alley. Still, I think this is a sensible
      clarification.
      Reviewed-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      79f5b2c7
    • Daniel Vetter's avatar
      drm/i915: wrap up gt powersave enabling functions · 8090c6b9
      Daniel Vetter authored
      ... instead of calling each one for each generation indiviudally.
      
      Notice that we've already managed to be inconsistent, the resume path
      is missing an IS_VLV check. As a nice benefit we can mark all the
      platform specific enable/disable functions as static and hide them in
      intel_pm.c
      Reviewed-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
      Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      8090c6b9
    • Daniel Vetter's avatar
      Merge tag 'v3.5-rc4' into drm-intel-next-queued · 7b0cfee1
      Daniel Vetter authored
      I want to merge the "no more fake agp on gen6+" patches into
      drm-intel-next (well, the last pieces). But a patch in 3.5-rc4 also
      adds a new use of dev->agp. Hence the backmarge to sort this out, for
      otherwise drm-intel-next merged into Linus' tree would conflict in the
      relevant code, things would compile but nicely OOPS at driver load :(
      
      Conflicts in this merge are just simple cases of "both branches
      changed/added lines at the same place". The only tricky part is to
      keep the order correct wrt the unwind code in case of errors in
      intel_ringbuffer.c (and the MI_DISPLAY_FLIP #defines in i915_reg.h
      together, obviously).
      
      Conflicts:
      	drivers/gpu/drm/i915/i915_reg.h
      	drivers/gpu/drm/i915/intel_ringbuffer.c
      Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      7b0cfee1
  2. 24 Jun, 2012 7 commits
  3. 23 Jun, 2012 6 commits
  4. 22 Jun, 2012 10 commits
  5. 21 Jun, 2012 14 commits