1. 19 3月, 2019 1 次提交
  2. 18 3月, 2019 8 次提交
  3. 16 3月, 2019 14 次提交
  4. 15 3月, 2019 7 次提交
    • C
      drm/i915: Always kick the execlists tasklet after reset · 41a1bde3
      Chris Wilson 提交于
      With direct submission being disabled while the reset in progress, we
      have a small window where we may forgo the submission of a new request
      and not notice its addition during execlists_reset_finish. To close this
      window, always schedule the submission tasklet on coming out of reset to
      catch any residual work.
      
      <6> [333.144082] i915: Running intel_hangcheck_live_selftests/igt_reset_engines
      <3> [333.296927] i915_reset_engine(rcs0:idle): failed to idle after reset
      <6> [333.296932] i915 0000:00:02.0: [drm] rcs0
      <6> [333.296934] i915 0000:00:02.0: [drm] 	Hangcheck 0:a9ddf7a5 [4157 ms]
      <6> [333.296936] i915 0000:00:02.0: [drm] 	Reset count: 36048 (global 754)
      <6> [333.296938] i915 0000:00:02.0: [drm] 	Requests:
      <6> [333.296997] i915 0000:00:02.0: [drm] 	RING_START: 0x00000000
      <6> [333.296999] i915 0000:00:02.0: [drm] 	RING_HEAD:  0x00000000
      <6> [333.297001] i915 0000:00:02.0: [drm] 	RING_TAIL:  0x00000000
      <6> [333.297003] i915 0000:00:02.0: [drm] 	RING_CTL:   0x00000000
      <6> [333.297005] i915 0000:00:02.0: [drm] 	RING_MODE:  0x00000200 [idle]
      <6> [333.297007] i915 0000:00:02.0: [drm] 	RING_IMR: fffffeff
      <6> [333.297010] i915 0000:00:02.0: [drm] 	ACTHD:  0x00000000_00000000
      <6> [333.297012] i915 0000:00:02.0: [drm] 	BBADDR: 0x00000000_00000000
      <6> [333.297015] i915 0000:00:02.0: [drm] 	DMA_FADDR: 0x00000000_00000000
      <6> [333.297017] i915 0000:00:02.0: [drm] 	IPEIR: 0x00000000
      <6> [333.297019] i915 0000:00:02.0: [drm] 	IPEHR: 0x00000000
      <6> [333.297021] i915 0000:00:02.0: [drm] 	Execlist status: 0x00000001 00000000
      <6> [333.297023] i915 0000:00:02.0: [drm] 	Execlist CSB read 5, write 5 [mmio:7], tasklet queued? no (enabled)
      <6> [333.297025] i915 0000:00:02.0: [drm] 		ELSP[0] idle
      <6> [333.297027] i915 0000:00:02.0: [drm] 		ELSP[1] idle
      <6> [333.297028] i915 0000:00:02.0: [drm] 		HW active? 0x0
      <6> [333.297044] i915 0000:00:02.0: [drm] 		Queue priority hint: -8186
      <6> [333.297067] i915 0000:00:02.0: [drm] 		Q  2afac:5f2+  prio=-8186 @ 50ms: (null)
      <6> [333.297068] i915 0000:00:02.0: [drm] HWSP:
      <6> [333.297071] i915 0000:00:02.0: [drm] [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      <6> [333.297073] i915 0000:00:02.0: [drm] *
      <6> [333.297075] i915 0000:00:02.0: [drm] [0040] 00000001 00000000 00000018 00000002 00000001 00000000 00000018 00000000
      <6> [333.297077] i915 0000:00:02.0: [drm] [0060] 00000001 00000000 00008002 00000002 00000000 00000000 00000000 00000005
      <6> [333.297079] i915 0000:00:02.0: [drm] [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      <6> [333.297081] i915 0000:00:02.0: [drm] *
      <6> [333.297083] i915 0000:00:02.0: [drm] [00c0] 00000000 00000000 00000000 00000000 a9ddf7a5 00000000 00000000 00000000
      <6> [333.297085] i915 0000:00:02.0: [drm] [00e0] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      <6> [333.297087] i915 0000:00:02.0: [drm] *
      <6> [333.297089] i915 0000:00:02.0: [drm] Idle? no
      <6> [333.297090] i915_reset_engine(rcs0:idle): 3000 resets
      <3> [333.297092] i915/intel_hangcheck_live_selftests: igt_reset_engines failed with error -5
      <3> [333.455460] i915 0000:00:02.0: Failed to idle engines, declaring wedged!
      ...
      <0> [333.491294] i915_sel-4916    1.... 333262143us : i915_reset_engine: rcs0 flags=4
      <0> [333.491328] i915_sel-4916    1.... 333262143us : execlists_reset_prepare: rcs0: depth<-0
      <0> [333.491362] i915_sel-4916    1.... 333262143us : intel_engine_stop_cs: rcs0
      <0> [333.491396] i915_sel-4916    1d..1 333262144us : process_csb: rcs0 cs-irq head=5, tail=5
      <0> [333.491424] i915_sel-4916    1.... 333262145us : intel_gpu_reset: engine_mask=1
      <0> [333.491454] kworker/-214     5.... 333262184us : i915_gem_switch_to_kernel_context: awake?=yes
      <0> [333.491487] kworker/-214     5.... 333262192us : i915_request_add: rcs0 fence 2afac:1522
      <0> [333.491520] kworker/-214     5.... 333262193us : i915_request_add: marking (null) as active
      <0> [333.491553] i915_sel-4916    1.... 333262199us : intel_engine_cancel_stop_cs: rcs0
      <0> [333.491587] i915_sel-4916    1.... 333262199us : execlists_reset_finish: rcs0: depth->0
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190313162835.30228-1-chris@chris-wilson.co.uk
      41a1bde3
    • C
      drm/i915/gtt: Refactor common ppgtt initialisation · 2ebd000a
      Chris Wilson 提交于
      The basic setup of the i915_hw_ppgtt is the same between gen6 and gen8,
      so refactor that into a common routine.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Bob Paauwe <bob.j.paauwe@intel.com>
      Cc: Matthew Auld <matthew.william.auld@gmail.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190314223839.28258-5-chris@chris-wilson.co.uk
      2ebd000a
    • C
      drm/i915/gtt: Rename i915_vm_is_48b to i915_vm_is_4lvl · a9fe9ca4
      Chris Wilson 提交于
      Large ppGTT are differentiated by the requirement to go to four levels
      to address more than 32b. Given the introduction of more 4 level ppGTT
      with different sizes of addressable bits, rename i915_vm_is_48b() to
      better reflect the commonality of using 4 levels.
      
      Based on a patch by Bob Paauwe.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Bob Paauwe <bob.j.paauwe@intel.com>
      Cc: Matthew Auld <matthew.william.auld@gmail.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190314223839.28258-4-chris@chris-wilson.co.uk
      a9fe9ca4
    • C
      drm/i915: Drop address size from ppgtt_type · 51d623b6
      Chris Wilson 提交于
      With the introduction of the separate addressable bits into the device
      info, we can remove the conflation of the ppgtt size from the ppgtt
      type.
      
      Based on a patch by Bob Paauwe.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Bob Paauwe <bob.j.paauwe@intel.com>
      Cc: Matthew Auld <matthew.william.auld@gmail.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190314223839.28258-3-chris@chris-wilson.co.uk
      51d623b6
    • C
      drm/i915: Record platform specific ppGTT size in intel_device_info · cbecbcca
      Chris Wilson 提交于
      As the maximum addressable bits is determined by platform, record that
      information in our static chipset tables. This has the advantage of
      being clearly recorded in our capability dumps for dmesg, debugfs and
      error states.
      
      Based on a patch by Bob Paauwe.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Bob Paauwe <bob.j.paauwe@intel.com>
      Cc: Matthew Auld <matthew.william.auld@gmail.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190314223839.28258-2-chris@chris-wilson.co.uk
      cbecbcca
    • C
      drm/i915: Mark up vGPU support for full-ppgtt · ca6ac684
      Chris Wilson 提交于
      For compatibility reasons, we only care if the vGPU host provides
      support for full-ppgtt. This is independent of the addressable memory
      size, so remove the conflation of 48b from the capability name.
      
      Based on a patch by Bob Paauwe.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Bob Paauwe <bob.j.paauwe@intel.com>
      Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
      Cc: Zhi Wang <zhi.a.wang@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190314223839.28258-1-chris@chris-wilson.co.uk
      ca6ac684
    • R
      drm/i915: Also use new comparative stuff for more ICP+ stuff · 29b43ae2
      Rodrigo Vivi 提交于
      I just noticed that initial PCH comparative patch
      left some >= PCH_ICP cases behind.
      
      Let's also cover these cases and leave only the pin map
      behind now.
      
      No functional change. Hence no fixes tag.
      
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NLucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190313214307.26573-1-rodrigo.vivi@intel.com
      29b43ae2
  5. 14 3月, 2019 10 次提交