Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+3 -2
+1 -1
drivers/gpu/drm/i915/Makefile
··· 76 76 77 77 # core display adaptation 78 78 i915-y += \ 79 + i915_bo.o \ 79 80 i915_display_pc8.o \ 80 81 i915_dpt.o \ 81 82 i915_dsb_buffer.o \ ··· 240 239 display/intel_atomic.o \ 241 240 display/intel_audio.o \ 242 241 display/intel_bios.o \ 243 - display/intel_bo.o \ 244 242 display/intel_bw.o \ 245 243 display/intel_casf.o \ 246 244 display/intel_cdclk.o \
+2 -1
drivers/gpu/drm/i915/display/intel_bo.c drivers/gpu/drm/i915/i915_bo.c
··· 3 3 4 4 #include <drm/drm_panic.h> 5 5 6 + #include "display/intel_bo.h" 7 + 6 8 #include "gem/i915_gem_mman.h" 7 9 #include "gem/i915_gem_object.h" 8 10 #include "gem/i915_gem_object_frontbuffer.h" 9 11 #include "pxp/intel_pxp.h" 10 12 #include "i915_debugfs.h" 11 - #include "intel_bo.h" 12 13 13 14 bool intel_bo_is_tiled(struct drm_gem_object *obj) 14 15 {