1. 29 3月, 2016 1 次提交
  2. 24 3月, 2016 2 次提交
  3. 23 3月, 2016 1 次提交
  4. 22 3月, 2016 4 次提交
  5. 21 3月, 2016 2 次提交
  6. 18 3月, 2016 2 次提交
  7. 17 3月, 2016 10 次提交
  8. 16 3月, 2016 4 次提交
  9. 14 3月, 2016 1 次提交
  10. 09 3月, 2016 2 次提交
  11. 04 3月, 2016 1 次提交
    • V
      drm/i915: Store rawclk_freq in dev_priv · e7dc33f3
      Ville Syrjälä 提交于
      Generalize rawclk handling by storing it in dev_priv.
      
      Presumably our hrawclk readout works at least for CTG and ELK
      since we've been using it for DP AUX on those platforms. There
      are no real docs anymore after configdb vanished, so the only
      reference is the public CTG GMCH spec. What bits are listed in
      that doc match our code. The ELK GMCH spec have no relevant
      details unfortunately.
      
      The PNV situation is less clear. Starting from
      commit aa17cdb4 ("drm/i915: initialize backlight max from VBT")
      we assume that the CTG/ELK hrawclk readout works for PNV as well.
      At least the results *seem* reasonable for one PNV machine (Lenovo
      Ideapad S10-3t). Sadly the PNV GMCH spec doesn't have the goods on
      the relevant register either.
      
      So let's keep assuming it works for PNV,ELK,CTG and read it out on
      those platforms. G33 also has hrawclk according to some notes
      in BSpec, but we don't actually need it for anything, so let's not
      even try to read it out there.
      
      v2: Rebase due to IS_VALLYVIEW vs. IS_CHERRYVIEW split
          Use KHz() all over, and kill off a few useless temp variables
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1456932138-14004-2-git-send-email-ville.syrjala@linux.intel.comReviewed-by: NJani Nikula <jani.nikula@intel.com>
      e7dc33f3
  12. 03 3月, 2016 1 次提交
  13. 02 3月, 2016 2 次提交
  14. 01 3月, 2016 2 次提交
    • A
      drm/i915/error: Capture WA ctx batch in error state · f85db059
      arun.siluvery@linux.intel.com 提交于
      execute during context save/restore, good to have them in error state.
      
      v2: use wa_ctx->size and print only size values (Mika)
      v3: simplify conditions when recording and freeing object (Chris)
      v4: resolve checkpatch errors (Tvrtko)
      
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: NArun Siluvery <arun.siluvery@linux.intel.com>
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1456831476-10782-1-git-send-email-arun.siluvery@linux.intel.com
      f85db059
    • M
      drm/i915: Add two-stage ILK-style watermark programming (v11) · ed4a6a7c
      Matt Roper 提交于
      In addition to calculating final watermarks, let's also pre-calculate a
      set of intermediate watermark values at atomic check time.  These
      intermediate watermarks are a combination of the watermarks for the old
      state and the new state; they should satisfy the requirements of both
      states which means they can be programmed immediately when we commit the
      atomic state (without waiting for a vblank).  Once the vblank does
      happen, we can then re-program watermarks to the more optimal final
      value.
      
      v2: Significant rebasing/rewriting.
      
      v3:
       - Move 'need_postvbl_update' flag to CRTC state (Daniel)
       - Don't forget to check intermediate watermark values for validity
         (Maarten)
       - Don't due async watermark optimization; just do it at the end of the
         atomic transaction, after waiting for vblanks.  We do want it to be
         async eventually, but adding that now will cause more trouble for
         Maarten's in-progress work.  (Maarten)
       - Don't allocate space in crtc_state for intermediate watermarks on
         platforms that don't need it (gen9+).
       - Move WaCxSRDisabledForSpriteScaling:ivb into intel_begin_crtc_commit
         now that ilk_update_wm is gone.
      
      v4:
       - Add a wm_mutex to cover updates to intel_crtc->active and the
         need_postvbl_update flag.  Since we don't have async yet it isn't
         terribly important yet, but might as well add it now.
       - Change interface to program watermarks.  Platforms will now expose
         .initial_watermarks() and .optimize_watermarks() functions to do
         watermark programming.  These should lock wm_mutex, copy the
         appropriate state values into intel_crtc->active, and then call
         the internal program watermarks function.
      
      v5:
       - Skip intermediate watermark calculation/check during initial hardware
         readout since we don't trust the existing HW values (and don't have
         valid values of our own yet).
       - Don't try to call .optimize_watermarks() on platforms that don't have
         atomic watermarks yet.  (Maarten)
      
      v6:
       - Rebase
      
      v7:
       - Further rebase
      
      v8:
       - A few minor indentation and line length fixes
      
      v9:
       - Yet another rebase since Maarten's patches reworked a bunch of the
         code (wm_pre, wm_post, etc.) that this was previously based on.
      
      v10:
       - Move wm_mutex to dev_priv to protect against racing commits against
         disjoint CRTC sets. (Maarten)
       - Drop unnecessary clearing of cstate->wm.need_postvbl_update (Maarten)
      
      v11:
       - Now that we've moved to atomic watermark updates, make sure we call
         the proper function to program watermarks in
         {ironlake,haswell}_crtc_enable(); the failure to do so on the
         previous patch iteration led to us not actually programming the
         watermarks before turning on the CRTC, which was the cause of the
         underruns that the CI system was seeing.
       - Fix inverted logic for determining when to optimize watermarks.  We
         were needlessly optimizing when the intermediate/optimal values were
         the same (harmless), but not actually optimizing when they differed
         (also harmless, but wasteful from a power/bandwidth perspective).
      
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1456276813-5689-1-git-send-email-matthew.d.roper@intel.com
      ed4a6a7c
  15. 29 2月, 2016 1 次提交
  16. 26 2月, 2016 1 次提交
  17. 23 2月, 2016 2 次提交
  18. 22 2月, 2016 1 次提交