[PATCH v2 11/15] drm/xe/display: Stop dereferencing ggtt in xe_fb_pin
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Mon Sep 30 19:57:45 UTC 2024
This is the only user of the ggtt struct still there, add
some calls to lock/unlock ggtt and remove other dereferencing.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index a2be883c67e88..9c4baa22ebe49 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -908,6 +908,7 @@ u64 xe_ggtt_read_pte(struct xe_ggtt *ggtt, u64 offset)
* xe_ggtt_write_pte - Write a PTE to the GGTT
* @ggtt: &xe_ggtt
* @offset: the offset for which the mapping should be written.
+ * @pte: The page table entry to write
*
* Used by display for writing normal and rotated GGTT entries for temporary pinned FB's.
*/
--
2.45.2
More information about the Intel-xe
mailing list