Access DRM Framebuffer in i.MX 8 or 9 onwards

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

Access DRM Framebuffer in i.MX 8 or 9 onwards

Jump to solution
592 Views
paul_walker123
Contributor II

From i.MX 8 series onwards, direct access to framebuffer is limited by NXP. Instead, it is controlled by library called libdrm, which is controlled directly by Windowing system (WayLand). 
I hope i am right. Correct me if wrong.

We are running both i.MX8M plus and i.MX 93 boards and working on bringing up display.
How do we access DRM Framebuffer at u-boot to put any custom logo at bootup and at kernal as well.


P.S: We went through previous NXP Community threads and since everyone is using i.MX 6 or previous, it is not being relatable to us.Also we are not running Android, we are running Yocto.


Yocto version: Poky (Yocto Project Reference Distro) 4.0.4 (kirkstone)

#i.MX93

@Pavel @Harvey021 @Tia_Lan @Zhiming_Liu 

0 Kudos
1 Solution
542 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The drm driver is located on drivers/gpu/drm/imx/dcss on you BSP.

Regards

View solution in original post

0 Kudos
2 Replies
543 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The drm driver is located on drivers/gpu/drm/imx/dcss on you BSP.

Regards

0 Kudos
520 Views
paul_walker123
Contributor II

Thanks that worked.

Now i want to put custom image on framebuffer on U-Boot or kernal.
What I have learnt is that, U-Boot supports BMP image format and Kernal supports PNG.

I tried to search through community forms, there it was suggested to build the image through SDK.

Could you give me a hint how to put custom image/video onto framebuffer and display it.
Request for the help/hint/solution

 

@Bio_TICFSL @Zhiming_Liu  @Pavel @Harvey021 @Tia_Lan

0 Kudos