diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-03-11 17:18:14 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-03-16 12:00:21 +0300 |
| commit | e3ef2c21176e7031b5846418e3dd1b5b94512ce5 (patch) | |
| tree | aa6144251c867f839cef62d2b33592c78c0d9e9a | |
| parent | 95acbb074694ead2a2f09888e673a485ed00ea22 (diff) | |
| download | linux-e3ef2c21176e7031b5846418e3dd1b5b94512ce5.tar.xz | |
drm/i915: move i915 specific bo implementation to i915
The bo interface implementation is different for both i915 and xe. Move
the i915 specific implementation from display to i915 core.
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/e159166d623899996a51a577365ca7ab9b1a0974.1773238670.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
| -rw-r--r-- | drivers/gpu/drm/i915/Makefile | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/i915/i915_bo.c (renamed from drivers/gpu/drm/i915/display/intel_bo.c) | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile index 7e9d9b666511..52a82608b8b1 100644 --- a/drivers/gpu/drm/i915/Makefile +++ b/drivers/gpu/drm/i915/Makefile @@ -76,6 +76,7 @@ i915-$(CONFIG_PERF_EVENTS) += \ # core display adaptation i915-y += \ + i915_bo.o \ i915_display_pc8.o \ i915_dpt.o \ i915_dsb_buffer.o \ @@ -239,7 +240,6 @@ i915-y += \ display/intel_atomic.o \ display/intel_audio.o \ display/intel_bios.o \ - display/intel_bo.o \ display/intel_bw.o \ display/intel_casf.o \ display/intel_cdclk.o \ diff --git a/drivers/gpu/drm/i915/display/intel_bo.c b/drivers/gpu/drm/i915/i915_bo.c index 2b6eaec351d8..21a4533ba341 100644 --- a/drivers/gpu/drm/i915/display/intel_bo.c +++ b/drivers/gpu/drm/i915/i915_bo.c @@ -3,12 +3,13 @@ #include <drm/drm_panic.h> +#include "display/intel_bo.h" + #include "gem/i915_gem_mman.h" #include "gem/i915_gem_object.h" #include "gem/i915_gem_object_frontbuffer.h" #include "pxp/intel_pxp.h" #include "i915_debugfs.h" -#include "intel_bo.h" bool intel_bo_is_tiled(struct drm_gem_object *obj) { |
