]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Implement a helper for reading out a GGTT PTE at a specified offset
authorMaarten Lankhorst <dev@lankhorst.se>
Mon, 5 May 2025 12:19:22 +0000 (14:19 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 9 Jun 2025 08:24:23 +0000 (10:24 +0200)
commite0096fdcf88ce5e64a4c2e62d3198f05a70052d8
tree4bf8522c14c4580c812b6e7fdb56ed959e917ddb
parent0c52d722524a2ac3aefdbbc4cbc33658b08b9f79
drm/xe: Implement a helper for reading out a GGTT PTE at a specified offset

Split the GGTT PTE readout to a separate function, this is useful for
adding testcases in the next commit, and also cleaner than manually
reading out GGTT.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://lore.kernel.org/r/20250505121924.921544-10-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/display/xe_plane_initial.c
drivers/gpu/drm/xe/xe_ggtt.c
drivers/gpu/drm/xe/xe_ggtt.h