1. 11 9月, 2019 1 次提交
  2. 10 9月, 2019 3 次提交
  3. 09 9月, 2019 1 次提交
  4. 07 9月, 2019 3 次提交
  5. 04 9月, 2019 1 次提交
  6. 31 8月, 2019 3 次提交
  7. 30 8月, 2019 2 次提交
  8. 29 8月, 2019 1 次提交
  9. 28 8月, 2019 3 次提交
  10. 27 8月, 2019 2 次提交
  11. 24 8月, 2019 11 次提交
  12. 22 8月, 2019 2 次提交
  13. 20 8月, 2019 4 次提交
  14. 19 8月, 2019 3 次提交
    • C
      drm/i915: Serialize against vma moves · 70d6894d
      Chris Wilson 提交于
      Make sure that when submitting requests, we always serialize against
      potential vma moves and clflushes.
      
      Time for a i915_request_await_vma() interface!
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190819112033.30638-1-chris@chris-wilson.co.uk
      70d6894d
    • C
      drm/i915/gt: Mark up the nested engine-pm timeline lock as irqsafe · d6773926
      Chris Wilson 提交于
      We use a fake timeline->mutex lock to reassure lockdep that the timeline
      is always locked when emitting requests. However, the use inside
      __engine_park() may be inside hardirq and so lockdep now complains about
      the mixed irq-state of the nested locked. Disable irqs around the
      lockdep tracking to keep it happy.
      
      Fixes: 6c69a454 ("drm/i915/gt: Mark context->active_count as protected by timeline->mutex")
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190819075835.20065-3-chris@chris-wilson.co.uk
      d6773926
    • C
      drm/i915: Always wrap the ring offset before resetting · 6a736ebf
      Chris Wilson 提交于
      We were passing in an unwrapped offset into intel_ring_reset() on
      unpinning. Sooner or later that had to land on ring->size.
      
      <3> [314.872147] intel_ring_reset:1237 GEM_BUG_ON(!intel_ring_offset_valid(ring, tail))
      <4> [314.872272] ------------[ cut here ]------------
      <2> [314.872276] kernel BUG at drivers/gpu/drm/i915/gt/intel_ringbuffer.c:1237!
      <4> [314.872320] invalid opcode: 0000 [#1] PREEMPT SMP PTI
      <4> [314.872331] CPU: 1 PID: 3466 Comm: i915_selftest Tainted: G     U            5.3.0-rc4-CI-Patchwork_14061+ #1
      <4> [314.872346] Hardware name: Hewlett-Packard HP Compaq 8000 Elite CMT PC/3647h, BIOS 786G7 v01.02 10/22/2009
      <4> [314.872477] RIP: 0010:intel_ring_reset+0x51/0x70 [i915]
      <4> [314.872487] Code: 9e db 51 e0 48 8b 35 b6 c7 22 00 49 c7 c0 f8 d9 d6 a0 b9 d5 04 00 00 48 c7 c2 70 5b d4 a0 48 c7 c7 6c fc c0 a0 e8 cf be 58 e0 <0f> 0b 89 77 20 89 77 1c 89 77 24 e9 4f ed ff ff 0f 1f 44 00 00 66
      <4> [314.872512] RSP: 0018:ffffc9000034fa98 EFLAGS: 00010282
      <4> [314.872523] RAX: 0000000000000010 RBX: ffff8881019412c8 RCX: 0000000000000000
      <4> [314.872534] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000f20
      <4> [314.872545] RBP: ffff888104e0f740 R08: 0000000000000000 R09: 0000000000000f20
      <4> [314.872557] R10: 0000000000000000 R11: ffff888117094518 R12: ffffffffa0d3d2c0
      <4> [314.872569] R13: ffffffffa0e2a250 R14: ffffffffa0e2a1e0 R15: ffffc9000034fe88
      <4> [314.872581] FS:  00007fe6d49f6e40(0000) GS:ffff888117a80000(0000) knlGS:0000000000000000
      <4> [314.872595] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      <4> [314.872605] CR2: 000055e3283e9cc8 CR3: 0000000108842000 CR4: 00000000000406e0
      <4> [314.872616] Call Trace:
      <4> [314.872701]  intel_ring_unpin+0x1a/0x220 [i915]
      <4> [314.872787]  ring_destroy+0x48/0xc0 [i915]
      <4> [314.872870]  intel_engines_cleanup+0x24/0x40 [i915]
      <4> [314.872964]  i915_gem_driver_release+0x1b/0xf0 [i915]
      <4> [314.872984]  i915_driver_release+0x1c/0x80 [i915]
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190819075835.20065-2-chris@chris-wilson.co.uk
      6a736ebf