mbox series

[etnaviv-next,v2,0/3] drm/etnaviv: Trivial mmu map and ummap cleanups

Message ID 20241104200354.656525-1-sui.jingfeng@linux.dev (mailing list archive)
Headers show
Series drm/etnaviv: Trivial mmu map and ummap cleanups | expand

Message

Sui Jingfeng Nov. 4, 2024, 8:03 p.m. UTC
The 'offset' data member of the 'struct scatterlist' denotes the offset
into a SG entry in bytes. But it seems that nearly all helper functions
we are using will hardcode it to ZERO. Under such a case, it seems that
take the 'offset' into accounts are just intoduce extra overhead. Waste
CPU circles, then is it correct and safe for us do some simplification
now?

v1 -> v2
	* Reword and fix typos and mistakes

v1 Link: https://patchwork.freedesktop.org/series/140589/

Sui Jingfeng (3):
  drm/etnaviv: Drop offset in page manipulation
  drm/etnaviv: Fix the debug log of the etnaviv_iommu_map()
  drm/etnaviv: Improve VA, PA, SIZE alignment checking

 drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)