Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-20 Thread Jacek Lawrynowicz
Hi, On 2/20/2025 2:53 PM, Tvrtko Ursulin wrote: > > On 20/02/2025 13:14, Jacek Lawrynowicz wrote: >> Hi, >> >> On 2/19/2025 11:55 AM, Joonas Lahtinen wrote: >>> Quoting Jacek Lawrynowicz (2025-02-11 17:57:03) Hi, can I submit this to drm-misc or should someone commit this to drm-intel?

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-20 Thread Tvrtko Ursulin
On 20/02/2025 13:14, Jacek Lawrynowicz wrote: Hi, On 2/19/2025 11:55 AM, Joonas Lahtinen wrote: Quoting Jacek Lawrynowicz (2025-02-11 17:57:03) Hi, can I submit this to drm-misc or should someone commit this to drm-intel? Is the this happening in linux-next or is it still completely out-of

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-20 Thread Jacek Lawrynowicz
Hi, On 2/19/2025 11:55 AM, Joonas Lahtinen wrote: > Quoting Jacek Lawrynowicz (2025-02-11 17:57:03) >> Hi, can I submit this to drm-misc or should someone commit this to drm-intel? > > Is the this happening in linux-next or is it still completely out-of-tree? The patch is not merged so it is happ

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-19 Thread Joonas Lahtinen
Quoting Jacek Lawrynowicz (2025-02-11 17:57:03) > Hi, can I submit this to drm-misc or should someone commit this to drm-intel? Is the this happening in linux-next or is it still completely out-of-tree? Feels weird that the splat would not have happened in any hybrid GPU systems in the past. Did

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-11 Thread Rodrigo Vivi
On Tue, Feb 11, 2025 at 04:57:03PM +0100, Jacek Lawrynowicz wrote: > Hi, can I submit this to drm-misc or should someone commit this to drm-intel? This is drm-intel. More specifically drm-intel-gt-next. Since Joonas had some concerns on the v1, let's wait for him to check if the provided answers

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-11 Thread Jacek Lawrynowicz
Hi, can I submit this to drm-misc or should someone commit this to drm-intel? On 1/14/2025 9:23 AM, Jacek Lawrynowicz wrote: > drm_gem_mmap_obj() expects VM_DONTEXPAND flag to be set after mmap > callback is executed. Set this flag at the end of i915_gem_dmabuf_mmap() > to prevent WARN on mmap in

[PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-01-14 Thread Jacek Lawrynowicz
drm_gem_mmap_obj() expects VM_DONTEXPAND flag to be set after mmap callback is executed. Set this flag at the end of i915_gem_dmabuf_mmap() to prevent WARN on mmap in buffers imported from i915 e.g., [ 283.623215] WARNING: CPU: 1 PID: 12693 at drivers/gpu/drm/drm_gem.c:1087 drm_gem_mmap_obj+0x19