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/dsb: move i915 specific DSB buffer implementation to i915

The DSB buffer implementation is different for both i915 and xe. Move
the i915 specific implementation from display to i915 core.

Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/a01b3e69a3f79713eacf437af00dbe23d2f9c8dd.1768923917.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+2 -2
+1 -1
drivers/gpu/drm/i915/Makefile
··· 77 77 # core display adaptation 78 78 i915-y += \ 79 79 i915_display_pc8.o \ 80 + i915_dsb_buffer.o \ 80 81 i915_hdcp_gsc.o \ 81 82 i915_initial_plane.o \ 82 83 i915_panic.o ··· 276 275 display/intel_dram.o \ 277 276 display/intel_drrs.o \ 278 277 display/intel_dsb.o \ 279 - display/intel_dsb_buffer.o \ 280 278 display/intel_fb.o \ 281 279 display/intel_fb_bo.o \ 282 280 display/intel_fb_pin.o \
+1 -1
drivers/gpu/drm/i915/display/intel_dsb_buffer.c drivers/gpu/drm/i915/i915_dsb_buffer.c
··· 3 3 * Copyright 2023, Intel Corporation. 4 4 */ 5 5 6 + #include "display/intel_dsb_buffer.h" 6 7 #include "gem/i915_gem_internal.h" 7 8 #include "gem/i915_gem_lmem.h" 8 9 #include "i915_drv.h" 9 10 #include "i915_vma.h" 10 - #include "intel_dsb_buffer.h" 11 11 12 12 struct intel_dsb_buffer { 13 13 u32 *cmd_buf;