[Intel-gfx] [PATCH 1/7] drm/i915: Replace kmap() with kmap_local_page()

Christoph Hellwig hch at infradead.org
Mon Dec 13 09:04:07 UTC 2021


On Fri, Dec 10, 2021 at 03:23:58PM -0800, ira.weiny at intel.com wrote:
> -		vaddr = kmap(page);
> +		vaddr = kmap_local_page(page);
>  		memcpy(vaddr, data, len);
> -		kunmap(page);
> +		kunmap_local(vaddr);

memcpy_to_page?


More information about the Intel-gfx mailing list