Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-27 Thread Brian Geffon
On Mon, Jan 27, 2025 at 1:47 PM Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 10:53:40AM -0500, Brian Geffon wrote: > > When converting to folios the cleanup path of shmem_get_pages() was > > missed. When a DMA remap fails and the max segment size is greater than > > PAGE_SIZE it will attempt t

Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-27 Thread Ville Syrjälä
On Thu, Jan 16, 2025 at 10:53:40AM -0500, Brian Geffon wrote: > When converting to folios the cleanup path of shmem_get_pages() was > missed. When a DMA remap fails and the max segment size is greater than > PAGE_SIZE it will attempt to retry the remap with a PAGE_SIZEd segment > size. The cleanup

RE: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-26 Thread Srinivas, Vidya
...@vger.kernel.org; dri- > de...@lists.freedesktop.org; Joonas Lahtinen > ; sta...@vger.kernel.org; Tomasz Figa > > Subject: Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure > > On Wed, Jan 22, 2025 at 10:07 PM Srinivas, Vidya > wrote: > > > > Hello

Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-24 Thread Brian Geffon
On Wed, Jan 22, 2025 at 10:07 PM Srinivas, Vidya wrote: > > Hello Brian, Many thanks for the fix. I am adding my tested-by. > Tested-by: Vidya Srinivas Thanks for testing Vidya. Can we get a maintainer to take a look? > > > > -Original Message- > > From: Brian Geffon > > Sent: 16 Janu

RE: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-22 Thread Srinivas, Vidya
Hello Brian, Many thanks for the fix. I am adding my tested-by. Tested-by: Vidya Srinivas > -Original Message- > From: Brian Geffon > Sent: 16 January 2025 21:24 > To: intel-...@lists.freedesktop.org > Cc: Wilson, Chris P ; Saarinen, Jani > ; Mistat, Tomasz ; > Srinivas, Vidya ; ville.s