On Tue, 25 Apr 2017, hean.loong.ong@intel.com wrote:
+++ b/drivers/gpu/drm/ivip/Makefile @@ -0,0 +1,9 @@ +# +# Makefile for the drm device driver. This driver provides support for the +# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
+ccflags-y := -Iinclude/drm
Just a drive-by observation, there are patches on the list removing such ccflags from existing drivers. You shouldn't need this. Just make sure all your #includes begin with <drm/.
BR, Jani.
+obj-$(CONFIG_DRM_IVIP) += ivip.o +ivip-objs := intel_vip_of.o intel_vip_core.o \ +intel_vip_conn.o