aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_frontbuffer.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2025-02-24 16:00:48 +0000
committerJani Nikula <[email protected]>2025-03-03 11:44:42 +0000
commit7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665 (patch)
tree60bd571a7deadbd8fb0ed4c7bcfb43fe9f0b8508 /drivers/gpu/drm/i915/display/intel_frontbuffer.c
parentdrm/i915/pxp & drm/xe/pxp: Figure out pxp instance from the gem object (diff)
downloadkernel-7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665.tar.gz
kernel-7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665.zip
drm/i915: relocate intel_plane_ggtt_offset() to intel_atomic_plane.c
With the primary goal of removing #include "i915_vma.h" from intel_display_types.h, move intel_plane_ggtt_offset() to a proper function in intel_atomic_plane.c. This reveals tons of implicit dependencies all over the place that we pulled in via i915_vma.h. Fix the fallout. Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/70ac6d19518f355abf37ac8c4b0f1d18878be28c.1740412806.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_frontbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index f023f5a4dba6..ba2f88ca6117 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -59,6 +59,7 @@
#include "i915_active.h"
#include "i915_drv.h"
+#include "i915_vma.h"
#include "intel_bo.h"
#include "intel_display_trace.h"
#include "intel_display_types.h"