OSDN Git Service

drm/i915/gvt: #include drm_edid.h for drm_edid_block_valid()
authorJani Nikula <jani.nikula@intel.com>
Tue, 15 Feb 2022 12:20:30 +0000 (14:20 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 17 Feb 2022 06:55:25 +0000 (08:55 +0200)
As the excessive #includes from i915_drv.h were axed, kvmgt.c build
started failing. Add the necessary #include where needed.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 14da21cc4671 ("drm/i915: axe lots of unnecessary includes from i915_drv.h")
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: intel-gvt-dev@lists.freedesktop.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220215122030.2741656-1-jani.nikula@intel.com
drivers/gpu/drm/i915/gvt/kvmgt.c

index 20b82fb..e8d6c76 100644 (file)
@@ -46,6 +46,8 @@
 
 #include <linux/nospec.h>
 
+#include <drm/drm_edid.h>
+
 #include "i915_drv.h"
 #include "gvt.h"