I have a problem with error occurs during kernel compile when i.MX DRM HDMI Feature is enabled.
i.MX6 Kernel Does not support DRM HDMI?
Or is there a supported kernel version?
1. Chip : MCIMX6Q5EYM10AD
2. Kernel Version : L3.14.28
3. Kernel Configuration
4. Error Log
scripts/kconfig/conf --silentoldconfig Kconfig
make: `include/generated/mach-types.h'는 이미 갱신되었습니다.
drivers/staging/imx-drm/imx-drm-core.c: In function ‘imx_drm_driver_unload’:
drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable ‘imxdrm’ [-Wunused-variable]
drivers/staging/imx-drm/imx-hdmi.c: In function ‘imx_hdmi_set_ipu_di_mux’:
drivers/staging/imx-drm/imx-hdmi.c:146:17: error: ‘IMX6Q_GPR3_HDMI_MUX_CTL_SHIFT’ undeclared (first use in this function)
drivers/staging/imx-drm/imx-hdmi.c:146:17: note: each undeclared identifier is reported only once for each function it appears in
make: *** [drivers/staging/imx-drm/imx-hdmi.o] 오류 1
make: *** [drivers/staging/imx-drm] 오류 2
make: *** [drivers/staging] 오류 2
make: *** 끝나지 않은 작업을 기다리고 있습니다....
make: *** [drivers] 오류 2
The driver you are selecting is the Mainline Linux kernel driver for HDMI, which doesn't build in NXP kernel since there's already another driver for HDMI. The NXP driver of i.MX6 is an fbdev and does not rely on DRM.
Also, just in case your don't know the difference, the DRM in the above example means "Direct Rendering Manager", not "Digital Right Management".
If you really wish to use the DRM/KMS mainline kernel driver, you'd better use the mainline kernel directly: