summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_ggtt.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2023-01-24 18:28:03 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:27:44 -0500
commit9b6483af3709386fe0e544bfa8cc01f8a92e0d57 (patch)
tree0a81c24565301650753253c9d0ff6babe7bc1349 /drivers/gpu/drm/xe/xe_ggtt.h
parent09a68b4a76e3d870d2fad34099d27cc7e2c9939b (diff)
downloadlinux-stable-9b6483af3709386fe0e544bfa8cc01f8a92e0d57.tar.gz
linux-stable-9b6483af3709386fe0e544bfa8cc01f8a92e0d57.tar.bz2
linux-stable-9b6483af3709386fe0e544bfa8cc01f8a92e0d57.zip
drm/xe: Map initial FB at the same place in GGTT too
I saw a flicker when booting xe, and it's very likely that the original FB was not mapped at the same place when inheriting, fix it. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_ggtt.h')
-rw-r--r--drivers/gpu/drm/xe/xe_ggtt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_ggtt.h b/drivers/gpu/drm/xe/xe_ggtt.h
index 289c6852ad1a..ab9cfdab5cca 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.h
+++ b/drivers/gpu/drm/xe/xe_ggtt.h
@@ -23,6 +23,7 @@ int xe_ggtt_insert_special_node_locked(struct xe_ggtt *ggtt,
void xe_ggtt_remove_node(struct xe_ggtt *ggtt, struct drm_mm_node *node);
void xe_ggtt_map_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
int xe_ggtt_insert_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
+int xe_ggtt_insert_bo_at(struct xe_ggtt *ggtt, struct xe_bo *bo, u64 ofs);
void xe_ggtt_remove_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
#endif