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/dpt: move display/intel_dpt.c to i915_dpt.c

The DPT implementation is i915 specific. The xe driver has a different
implementation. Move display/intel_dpt.c to i915_dpt.c. Cleanups will
follow.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patch.msgid.link/20a3bfb2762f39f9666d9a5752b8d2fb133583b0.1772030909.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+6 -6
+1 -1
drivers/gpu/drm/i915/Makefile
··· 77 77 # core display adaptation 78 78 i915-y += \ 79 79 i915_display_pc8.o \ 80 + i915_dpt.o \ 80 81 i915_dsb_buffer.o \ 81 82 i915_hdcp_gsc.o \ 82 83 i915_initial_plane.o \ ··· 271 270 display/intel_dpio_phy.o \ 272 271 display/intel_dpll.o \ 273 272 display/intel_dpll_mgr.o \ 274 - display/intel_dpt.o \ 275 273 display/intel_dpt_common.o \ 276 274 display/intel_dram.o \ 277 275 display/intel_drrs.o \
+5 -5
drivers/gpu/drm/i915/display/intel_dpt.c drivers/gpu/drm/i915/i915_dpt.c
··· 5 5 6 6 #include <drm/drm_print.h> 7 7 8 + #include "display/intel_display_core.h" 9 + #include "display/intel_display_rpm.h" 10 + #include "display/intel_display_types.h" 11 + #include "display/intel_dpt.h" 12 + #include "display/intel_fb.h" 8 13 #include "gem/i915_gem_domain.h" 9 14 #include "gem/i915_gem_internal.h" 10 15 #include "gem/i915_gem_lmem.h" 11 16 #include "gt/gen8_ppgtt.h" 12 17 13 18 #include "i915_drv.h" 14 - #include "intel_display_core.h" 15 - #include "intel_display_rpm.h" 16 - #include "intel_display_types.h" 17 - #include "intel_dpt.h" 18 - #include "intel_fb.h" 19 19 20 20 struct i915_dpt { 21 21 struct i915_address_space vm;