[RESEND PATCH 1/3] drm/i915: Replace kmap() with kmap_local_page()

2022-10-16 Thread Fabio M. De Francesco
kmap() is being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation when the kmap’s pool wraps and it migh

[PATCH 1/3] drm/i915: Replace kmap() with kmap_local_page()

2022-08-12 Thread Fabio M. De Francesco
kmap() is being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation when the kmap’s pool wraps and it migh