1. 18 3月, 2015 4 次提交
    • J
      drm/i915: Remove ironlake rc6 support · a5611654
      John Harrison 提交于
      Apparently, this has never worked reliably and is currently disabled. Also, the
      gains are not particularly impressive. Thus rather than try to keep unused code
      from decaying and having to update it for other driver changes, it was decided
      to simply remove it.
      
      For: VIZ-5115
      Signed-off-by: NJohn Harrison <John.C.Harrison@Intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      a5611654
    • D
      drm/i915: Make for_each_plane() take dev_priv as argument · dd740780
      Damien Lespiau 提交于
      Implicit usage of local variables in macros isn't exactly the greatest
      thing in the world, especially when that variable is the drm device and
      we want to move towards a broader use of the i915 device structure.
      
      Let's make for_each_plane() take dev_priv as its first argument then.
      Suggested-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDamien Lespiau <damien.lespiau@intel.com>
      Reviewed-by: Chris Wilson <chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      dd740780
    • M
      drm/i915: Use plane->state->fb in watermark code (v2) · 59bea882
      Matt Roper 提交于
      plane->fb is a legacy pointer that not always be up-to-date (or updated
      early enough).  Make sure the watermark code uses plane->state->fb so
      that we're always doing our calculations based on the correct
      framebuffers.
      
      This patch was generated by Coccinelle with the following semantic
      patch:
      
              @@
              struct drm_plane *P;
              @@
              - P->fb
              + P->state->fb
      
      v2: Rebase
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      59bea882
    • M
      drm/i915: Kill intel_crtc->cursor_{width, height} (v2) · 3dd512fb
      Matt Roper 提交于
      The cursor size fields in intel_crtc just duplicate the data from
      cursor->state.crtc_{w,h} so we don't need them any more.  Worse, their
      use in the watermark code actually introduces a subtle bug since they
      don't get updated to mirror the state values until the plane commit
      stage, which is *after* we've already used them to calculate new
      watermark values.  This happens because we had to move watermark updates
      slightly earlier (outside vblank evasion) in commit
      
              commit 32b7eeec
              Author: Matt Roper <matthew.d.roper@intel.com>
              Date:   Wed Dec 24 07:59:06 2014 -0800
      
                  drm/i915: Refactor work that can sleep out of commit (v7)
      
      Dropping the intel_crtc fields and just using the state values (which
      are properly updated by the time watermark updates happen) should solve
      the problem.
      
      Aside from the actual removal of the struct fields (which are formatted
      in a way that I couldn't figure out how to match in Coccinelle), the
      rest of this patch was generated via the following semantic patch:
      
              // Drop assignment
              @@
              struct intel_crtc *C;
              struct drm_plane_state S;
              @@
              (
              - C->cursor_width = S.crtc_w;
              |
              - C->cursor_height = S.crtc_h;
              )
      
              // Replace usage
              @@
              struct intel_crtc *C;
              expression E;
              @@
              (
              - C->cursor_width
              + C->base.cursor->state->crtc_w
              |
              - C->cursor_height
              + C->base.cursor->state->crtc_h
              |
              - to_intel_crtc(E)->cursor_width
              + E->cursor->state->crtc_w
              |
              - to_intel_crtc(E)->cursor_height
              + E->cursor->state->crtc_h
              )
      
      v2: Rebase
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Joe Konno <joe.konno@linux.intel.com>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89346Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      3dd512fb
  2. 28 2月, 2015 2 次提交
  3. 25 2月, 2015 1 次提交
  4. 14 2月, 2015 13 次提交
  5. 11 2月, 2015 1 次提交
  6. 31 1月, 2015 1 次提交
  7. 27 1月, 2015 16 次提交
  8. 13 1月, 2015 1 次提交
  9. 12 1月, 2015 1 次提交