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

Ira Weiny ira.weiny at intel.com
Mon Dec 13 16:02:23 UTC 2021


On Mon, Dec 13, 2021 at 01:04:07AM -0800, Christoph Hellwig wrote:
> 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?

Opps!  Yea!

David, Daniel,

Do you prefer me to resent the entire series or reply to this message with a
V2?

Ira


More information about the Intel-gfx mailing list