1. 10 12月, 2015 11 次提交
  2. 09 12月, 2015 7 次提交
  3. 08 12月, 2015 9 次提交
  4. 07 12月, 2015 5 次提交
  5. 05 12月, 2015 4 次提交
  6. 04 12月, 2015 4 次提交
    • 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
    • D
      Revert "drm/i915: Remove superfluous NULL check" · d8578836
      Daniel Vetter 提交于
      This reverts commit 89f41f4f.
      
      It's possible that ->crtc is NULL in here. Noticed by Ville.
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      d8578836
    • W
      drm/i915: Clean up device info structure definitions · 6a8beeff
      Wayne Boyer 提交于
      Beginning with gen7, newer devices repetitively redefine values
      for the device info structure members.  This patch simplifies the
      structure definitions by grouping member value definitions into the
      existing GEN7_FEATURES #define and into the new GEN7_LP_FEATURES
      and HSW_FEATURES #defines.
      
      Specifically, GEN_DEFAULT_PIPEOFFSETS and IVB_CURSOR_OFFSETS are
      added to GEN7_FEATURES and subsequent IVB definitions are simplified.
      
      VLV_FEATURES is defined to differentiate and simplify the
      gen7 low power (LP) devices.
      
      HSW_FEATURES is defined and used to simplify all HSW+ devices
      except for LP.
      
      v2: Use VLV_FEATURES for the gen7 low power devices. (Jani)
      
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NWayne Boyer <wayne.boyer@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1449091694-7681-1-git-send-email-wayne.boyer@intel.com
      6a8beeff