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/colorop: do not include headers from headers

drm_colorop.h doesn't need the intel_display_types.h include for
anything. Don't include headers from headers if it can be avoided.

Fixes: 3e9b06559aa1 ("drm/i915: Add intel_color_op")
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://patch.msgid.link/20251218141807.409751-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+5 -1
+2
drivers/gpu/drm/i915/display/intel_colorop.c
··· 2 2 /* 3 3 * Copyright © 2025 Intel Corporation 4 4 */ 5 + 5 6 #include "intel_colorop.h" 7 + #include "intel_display_types.h" 6 8 7 9 struct intel_colorop *to_intel_colorop(struct drm_colorop *colorop) 8 10 {
+3 -1
drivers/gpu/drm/i915/display/intel_colorop.h
··· 6 6 #ifndef __INTEL_COLOROP_H__ 7 7 #define __INTEL_COLOROP_H__ 8 8 9 - #include "intel_display_types.h" 9 + enum intel_color_block; 10 + struct drm_colorop; 11 + struct intel_colorop; 10 12 11 13 struct intel_colorop *to_intel_colorop(struct drm_colorop *colorop); 12 14 struct intel_colorop *intel_colorop_alloc(void);