AnsweredAssumed Answered

i.MX6 Kernel Does not support DRM HDMI?

Question asked by HAE SUNG JUNG on Jan 25, 2018
Latest reply on Jan 28, 2018 by HAE SUNG JUNG

Dear community,

 

I have a problem with error occurs during kernel compile when i.MX DRM HDMI Feature is enabled.

 

**Question**
i.MX6 Kernel Does not support DRM HDMI?
Or is there a supported kernel version?

 

**description**

1. Chip : MCIMX6Q5EYM10AD

2. Kernel Version : L3.14.28

3. Kernel Configuration

    kernel_configuration_DRM_HDMI_Enable

4. Error Log    

root@VirtualBox:/subhard/NxpBoard/Source/Kernel/Kernel-3.14.28# make -j8

scripts/kconfig/conf --silentoldconfig Kconfig

  CHK     include/config/kernel.release

  CHK     include/generated/uapi/linux/version.h

  CHK     include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h'는 이미 갱신되었습니다.

  CALL    scripts/checksyscalls.sh

  CHK     include/generated/compile.h

  CC      drivers/gpu/drm/drm_gem_cma_helper.o

  CC      drivers/gpu/drm/drm_crtc_helper.o

  CC      drivers/gpu/drm/drm_dp_helper.o

  CC      drivers/gpu/drm/drm_fb_helper.o

  CC      drivers/gpu/drm/drm_fb_cma_helper.o

  CC      drivers/staging/imx-drm/imx-drm-core.o

  LD      drivers/gpu/drm/drm_kms_helper.o

  LD      drivers/gpu/drm/drm.o

  CC      drivers/staging/imx-drm/imx-fb.o

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]

  LD      drivers/gpu/drm/built-in.o

  LD      drivers/gpu/built-in.o

  CC      drivers/video/sysfillrect.o

  CC      drivers/video/syscopyarea.o

  CC      drivers/video/sysimgblt.o

  CC      drivers/staging/imx-drm/imx-fbdev.o

  CC      drivers/staging/imx-drm/imx-hdmi.o

  LD      drivers/staging/imx-drm/imxdrm.o

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

  LD      drivers/video/built-in.o

make[3]: *** [drivers/staging/imx-drm/imx-hdmi.o] 오류 1

make[2]: *** [drivers/staging/imx-drm] 오류 2

make[1]: *** [drivers/staging] 오류 2

make[1]: *** 끝나지 않은 작업을 기다리고 있습니다....

make: *** [drivers] 오류 2

root@VirtualBox:/subhard/NxpBoard/Source/Kernel/Kernel-3.14.28#

 

Outcomes