]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add dma_addr res cursor
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 6 Mar 2025 01:26:35 +0000 (17:26 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 6 Mar 2025 19:35:37 +0000 (11:35 -0800)
commit85d4653354690891296352d68dfc4497414ae153
tree3a3675f14a5dfcf6c338764e02fef73457351ebb
parent6fd979c2f33150e8261d87d2946f94f66f22ddaa
drm/xe: Add dma_addr res cursor

Add dma_addr res cursor which walks an array of drm_pagemap_dma_addr.
Useful for SVM ranges and programing page tables.

v3:
 - Better commit message (Thomas)
 - Use new drm_pagemap.h location
v7:
 - Fix kernel doc (CI)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-11-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_res_cursor.h
drivers/gpu/drm/xe/xe_svm.h