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/gvt: include intel_display_limits.h where needed

In this case, it's actually gvt.h that needs I915_MAX_PORTS etc. from
intel_display_limits.h. Make this more evident by moving the include
there, instead of getting it via fb_decoder.h.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/30696b712f4beba171c15765632ad9c3e1b8b1d1.1767180318.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+2 -2
-2
drivers/gpu/drm/i915/gvt/fb_decoder.h
··· 38 38 39 39 #include <linux/types.h> 40 40 41 - #include "display/intel_display_limits.h" 42 - 43 41 struct intel_vgpu; 44 42 45 43 #define _PLANE_CTL_FORMAT_SHIFT 24
+2
drivers/gpu/drm/i915/gvt/gvt.h
··· 38 38 #include <linux/vfio.h> 39 39 #include <asm/kvm_page_track.h> 40 40 41 + #include "display/intel_display_limits.h" 42 + 41 43 #include "gt/intel_gt.h" 42 44 43 45 #include "cmd_parser.h"