drm/xe: Drop ggtt invalidate from display code
authorMatthew Brost <matthew.brost@intel.com>
Wed, 6 Mar 2024 05:20:00 +0000 (21:20 -0800)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 20 Mar 2024 09:49:13 +0000 (10:49 +0100)
commit72bae5c28159e89101942aa2327be5344879f1b2
treeb4127d081b21da7823bf1d53f65ada49fbe77690
parenta6eff8f9c7e844cb24ccb188ca24abcd59734e74
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
drivers/gpu/drm/xe/display/xe_fb_pin.c
drivers/gpu/drm/xe/xe_ggtt.c
drivers/gpu/drm/xe/xe_ggtt.h