public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [etnaviv-next v2 0/3] drm/etnaviv: Trivial mmu map and ummap cleanups
@ 2024-11-04 20:03 Sui Jingfeng
  2024-11-04 20:03 ` [etnaviv-next v2 1/3] drm/etnaviv: Drop offset in page manipulation Sui Jingfeng
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sui Jingfeng @ 2024-11-04 20:03 UTC (permalink / raw)
  To: Lucas Stach, Russell King, Christian Gmeiner
  Cc: David Airlie, Simona Vetter, etnaviv, dri-devel, linux-kernel,
	Sui Jingfeng

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-04 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 20:03 [etnaviv-next v2 0/3] drm/etnaviv: Trivial mmu map and ummap cleanups Sui Jingfeng
2024-11-04 20:03 ` [etnaviv-next v2 1/3] drm/etnaviv: Drop offset in page manipulation Sui Jingfeng
2024-11-04 20:03 ` [etnaviv-next v2 2/3] drm/etnaviv: Fix the debug log of the etnaviv_iommu_map() Sui Jingfeng
2024-11-04 20:03 ` [etnaviv-next v2 3/3] drm/etnaviv: Improve VA, PA, SIZE alignment checking Sui Jingfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox