i.MX6 Kernel Does not support DRM HDMI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 Kernel Does not support DRM HDMI?

1,743 Views
haesungjung
Contributor I

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.jpg

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#

 

Labels (3)
0 Kudos
2 Replies

1,014 Views
gary_bisson
Senior Contributor III

Hi,

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:

kernel/git/stable/linux-stable.git - Linux kernel stable tree 

Regards,

Gary

0 Kudos

1,014 Views
haesungjung
Contributor I

Thank you for your kind reply.

0 Kudos