[PATCH v2 10/11] drm/i915: track_pfn() -> "pfnmap tracking"
Liam R. Howlett
Liam.Howlett at oracle.com
Tue May 13 17:50:32 UTC 2025
* David Hildenbrand <david at redhat.com> [250512 08:35]:
> track_pfn() does not exist, let's simply refer to it as "pfnmap
> tracking".
>
> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
> Acked-by: Ingo Molnar <mingo at kernel.org> # x86 bits
> Signed-off-by: David Hildenbrand <david at redhat.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett at oracle.com>
> ---
> drivers/gpu/drm/i915/i915_mm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_mm.c b/drivers/gpu/drm/i915/i915_mm.c
> index 76e2801619f09..c33bd3d830699 100644
> --- a/drivers/gpu/drm/i915/i915_mm.c
> +++ b/drivers/gpu/drm/i915/i915_mm.c
> @@ -100,7 +100,7 @@ int remap_io_mapping(struct vm_area_struct *vma,
>
> GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS);
>
> - /* We rely on prevalidation of the io-mapping to skip track_pfn(). */
> + /* We rely on prevalidation of the io-mapping to skip pfnmap tracking. */
> r.mm = vma->vm_mm;
> r.pfn = pfn;
> r.prot = __pgprot((pgprot_val(iomap->prot) & _PAGE_CACHE_MASK) |
> @@ -140,7 +140,7 @@ int remap_io_sg(struct vm_area_struct *vma,
> };
> int err;
>
> - /* We rely on prevalidation of the io-mapping to skip track_pfn(). */
> + /* We rely on prevalidation of the io-mapping to skip pfnmap tracking. */
> GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS);
>
> while (offset >= r.sgt.max >> PAGE_SHIFT) {
> --
> 2.49.0
>
More information about the Intel-gfx
mailing list