Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin, v2.

2021-09-30 Thread Maarten Lankhorst
Op 29-09-2021 om 16:50 schreef Thomas Hellström (Intel): > > On 9/29/21 10:59, Maarten Lankhorst wrote: >> Ensure i915_vma_pin_iomap and vma_unpin are done with dpt->obj lock held. >> >> I don't think there's much of a point in merging intel_dpt_pin() with >> intel_pin_fb_obj_dpt(), they touch

Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin, v2.

2021-09-29 Thread Intel
On 9/29/21 10:59, Maarten Lankhorst wrote: Ensure i915_vma_pin_iomap and vma_unpin are done with dpt->obj lock held. I don't think there's much of a point in merging intel_dpt_pin() with intel_pin_fb_obj_dpt(), they touch different objects. Changes since v1: - Fix using the wrong pointer to

[PATCH] drm/i915: Add ww context to intel_dpt_pin, v2.

2021-09-29 Thread Maarten Lankhorst
Ensure i915_vma_pin_iomap and vma_unpin are done with dpt->obj lock held. I don't think there's much of a point in merging intel_dpt_pin() with intel_pin_fb_obj_dpt(), they touch different objects. Changes since v1: - Fix using the wrong pointer to retrieve error code (Julia) Signed-off-by:

Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin (fwd)

2021-09-11 Thread Julia Lawall
, because vma has already been tested. julia -- Forwarded message -- Date: Sat, 11 Sep 2021 09:14:18 +0800 From: kernel test robot To: kbu...@lists.01.org Cc: l...@intel.com, Julia Lawall Subject: Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin CC: kbuild

[PATCH] drm/i915: Add ww context to intel_dpt_pin

2021-09-10 Thread Maarten Lankhorst
Ensure i915_vma_pin_iomap and vma_unpin are done with dpt->obj lock held. I don't think there's much of a point in merging intel_dpt_pin() with intel_pin_fb_obj_dpt(), they touch different objects. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_dpt.c | 40