1. 10 4月, 2015 4 次提交
  2. 07 4月, 2015 2 次提交
    • J
      drm/i915: add i915 specific connector debugfs file for DPCD · aa7471d2
      Jani Nikula 提交于
      Occasionally it would be interesting to read some of the DPCD registers
      for debug purposes, without having to resort to logging. Add an i915
      specific i915_dpcd debugfs file for DP and eDP connectors to dump parts
      of the DPCD. Currently the DPCD addresses to be dumped are statically
      configured, and more can be added trivially.
      
      The implementation also makes it relatively easy to add other i915 and
      connector specific debugfs files in the future, as necessary.
      
      This is currently i915 specific just because there's no generic way to
      do AUX transactions given just a drm_connector. However it's all pretty
      straightforward to port to other drivers.
      
      v2: Add more DPCD registers to dump.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NBob Paauwe <bob.j.paauwe@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      aa7471d2
    • S
      drm/i915/skl: Enabling PSR2 SU with frame sync · 474d1ec4
      Sonika Jindal 提交于
      We make use of HW tracking for Selective update region and enable frame sync on
      sink. We use hardware's hardcoded data values for frame sync and GTC.
      
      v2: Add 3200x2000 resolution restriction with PSR2, move psr2_support to i915_psr
      struct, add aux_frame_sync to independently control aux frame sync, rename the
      TP2 TIME macro for 2500us (Rodrigo, Siva)
      v3: Moving the resolution restriction to intel_psr_enable so that we check it
      only once(Durga)
      
      Cc: Durgadoss R <durgadoss.r@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NSonika Jindal <sonika.jindal@intel.com>
      Reviewed-by: NDurgadoss R <durgadoss.r@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      474d1ec4
  3. 01 4月, 2015 6 次提交
  4. 30 3月, 2015 1 次提交
  5. 28 3月, 2015 1 次提交
  6. 27 3月, 2015 4 次提交
  7. 26 3月, 2015 2 次提交
  8. 23 3月, 2015 1 次提交
  9. 20 3月, 2015 4 次提交
  10. 18 3月, 2015 12 次提交
  11. 28 2月, 2015 2 次提交
  12. 26 2月, 2015 1 次提交
    • J
      drm/i915: Cache ringbuf pointer in request structure · 98e1bd4a
      John Harrison 提交于
      In execlist mode, the ringbuf is a function of the ring and context whereas in
      legacy mode, it is derived from the ring alone. Thus the calculation required to
      determine the ringbuf pointer from the ring (and context) also needs to test
      execlist mode or not. This is messy.
      
      Further, the request structure holds a pointer to both the ring and the context
      for which it was created. Thus, given a request, it is possible to derive the
      ringbuf in either legacy or execlist mode. Hence it is necessary to pass just
      the request in to all the low level functions rather than some combination of
      request, ring, context and ringbuf. However, rather than recalculating it each
      time, it is much simpler to just cache the ringbuf pointer in the request
      structure itself.
      
      Caching the pointer means the calculation is done once at request creation time
      and all further code and simply read it directly from the request structure.
      
      OTC-Jira: VIZ-5115
      Signed-off-by: NJohn Harrison <John.C.Harrison@Intel.com>
      [danvet: Drop contentless comment in lrc alloc request entirely. And
      spelling fix in the commit message.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      98e1bd4a