1. 11 12月, 2015 2 次提交
    • D
      drm/i915: add VBT address and size fields to ASLE mailbox struct · c85f6c91
      Deepak M 提交于
      To be used on systems where the VBT does not fit into the normal VBT
      mailbox.
      
      v3: rebase
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDeepak M <m.deepak@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1448923632-16760-3-git-send-email-m.deepak@intel.com
      [Jani: updated commit message]
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      c85f6c91
    • R
      drm/i915: Fix random aux transactions failures. · 14e01889
      Rodrigo Vivi 提交于
      Mainly aux communications on sink_crc
      were failing a lot randomly on recent platforms.
      The first solution was to try to use intel_dp_dpcd_read_wake, but then
      it was suggested to move retries to drm level.
      
      Since drm level was already taking care of retries and didn't want
      to through random retries on that level the second solution was to
      put the retries at aux_transfer layer what was nacked.
      
      So I realized we had so many retries in different places and
      started to organize that a bit. During this organization I noticed
      that we weren't handing at all the case were the message size was
      zeroed. And this was exactly the case that was affecting sink_crc.
      
      Also we weren't respect BSPec who says this size message = 0 or > 20
      are forbidden.
      
      It is a fact that we still have no clue why we are getting this
      forbidden value there. But anyway we need to handle that for now
      so we return -EBUSY and drm level takes care of the retries that
      are already in place.
      
      v2: Print debug messsage when this case is reached as suggested
          by Jani.
      v3: This patch is crucial to make PSR test cases reliably working
          on SKL. So split this patch from the aux re-org series and add
          a FIXME as a promisse to continue that effort besides reminding
          to remove the sleep when that is merged.
      v4: Use a bigger usleep range so kernel doesn't need to be interrupted
          on a exact time, as suggested by Paulo.
          But anyway we should discuss the better time
          ranges on the EBUSY handle re-org at drm level since this one here
          is temporary.
      v5: s/1000,1500/1000, 1500/ (by Paulo).
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Tested-by: Daniel Stone <daniels@collabora.com> # SKL
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1449774747-2772-1-git-send-email-rodrigo.vivi@intel.com
      14e01889
  2. 10 12月, 2015 11 次提交
  3. 09 12月, 2015 7 次提交
  4. 08 12月, 2015 9 次提交
  5. 07 12月, 2015 5 次提交
  6. 05 12月, 2015 4 次提交
  7. 04 12月, 2015 2 次提交
    • D
      drm/i915: Restore skl_gt3 device info · a9287dbc
      Daniel Vetter 提交于
      This was broken in
      
      commit 6a8beeff
      Author: Wayne Boyer <wayne.boyer@intel.com>
      Date:   Wed Dec 2 13:28:14 2015 -0800
      
          drm/i915: Clean up device info structure definitions
      
      and I didn't spot this while reviewing. We really need that CI farm up
      asap!
      Reported-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Wayne Boyer <wayne.boyer@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      a9287dbc
    • C
      drm/i915: Fix RPS pointer passed from wait_ioctl to i915_wait_request · b6aa0873
      Chris Wilson 提交于
      In commit 2e1b8730 [v4.2]
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Mon Apr 27 13:41:22 2015 +0100
      
          drm/i915: Convert RPS tracking to a intel_rps_client struct
      
      we converted the __i915_wait_request() to take a new intel_rps_client
      struct (rather than having to pass fake drm_i915_file_private structs).
      However, due to use of passing a void pointer, I didn't spot one
      callsite in wait-ioctl was passing the wrong pointer.
      
      Fwiw, the impact of this bug is zero. Along the rps path, we always
      first call list_empty(rps) which when we pass in the wrong pointer
      always evaluates to false and we return early and never chase the
      invalid pointers.
      
      The user visible impact is then wait-ioctl doesn't get the same
      waitboosting as the other interfaces (set-domain, throttle), which is a
      performance concern for the *very* few users of the wait interface.
      There is also a libdrm_intel patch to use the wait-ioctl for
      drm_intel_bo_wait_rendering() if anyone feels inclined to review
      libdrm_intel patches.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      [danvet: Add Chris' explanation for why the impact of this is pretty
      close to 0.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b6aa0873