diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-03-06 08:20:00 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2024-03-20 12:49:13 +0300 |
commit | 72bae5c28159e89101942aa2327be5344879f1b2 (patch) | |
tree | b4127d081b21da7823bf1d53f65ada49fbe77690 /drivers/gpu/drm/xe/xe_ggtt.h | |
parent | a6eff8f9c7e844cb24ccb188ca24abcd59734e74 (diff) | |
download | linux-72bae5c28159e89101942aa2327be5344879f1b2.tar.xz |
drm/xe: Drop ggtt invalidate from display code
Only buffers mapped in the GGTT used by the GuC require an invalidation.
Display buffers do not require an invalidation. Delete the invalidatio
from display code and make invalidation a static function in xe_ggtt.c.
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240306052002.311196-3-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_ggtt.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_ggtt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_ggtt.h b/drivers/gpu/drm/xe/xe_ggtt.h index 42705e1338e1..dc9631d20720 100644 --- a/drivers/gpu/drm/xe/xe_ggtt.h +++ b/drivers/gpu/drm/xe/xe_ggtt.h @@ -11,7 +11,6 @@ struct drm_printer; void xe_ggtt_set_pte(struct xe_ggtt *ggtt, u64 addr, u64 pte); -void xe_ggtt_invalidate(struct xe_ggtt *ggtt); int xe_ggtt_init_early(struct xe_ggtt *ggtt); int xe_ggtt_init(struct xe_ggtt *ggtt); void xe_ggtt_printk(struct xe_ggtt *ggtt, const char *prefix); |