imx8qxp 24bpp framebuffer parallel rgb

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

imx8qxp 24bpp framebuffer parallel rgb

859 Views
TKayO
Contributor III

Hello, 

 

I'm trying to setup 720p performance test for parellel rgb display. 

Which is documented on the reference manual as below

" The Parallel Display Interface (LCD Interface), which supports 720p60 display, is
located in the Audio-DMA (ADMA) Subsystem (please see the ADMA Subsystem for
details on the LCD Interface (LCDIF) block).
"

 

It's because, 800x600x32bpp parallel rgb display works well with gstreamer video playback

but resolution increased to 1024x768, video flickers while playing mp4 video.

So, I'm assuming maybe the 32bpp format overhead makes this problem, 

That's why I need 24 or 16 bpp setting.

 

So, I made some changed on

drivers\gpu\drm\mxsfb\mxsfb_drv.c :: mxsfb_probe() 

        drm_fbdev_generic_setup(drm, 32);  -->  drm_fbdev_generic_setup(drm, 16);

 

but, although the changes above, 

drivers\gpu\drm\mxsfb\mxsfb_crtc.c :: mxsfb_set_pixel_fmt()

        this function make fb format "DRM_FORMAT_XRGB8888", XR24.

 

My purpose is to setup 24bpp format but 

drivers\gpu\drm\mxsfb\mxsfb_crtc.c :: mxsfb_set_pixel_fmt() <-- this function does not handle 24bpp case. it handles 24bpp case as error.

 

Q. How can I setup my framebuffer format as 24bit RGB888?

0 Kudos
3 Replies

852 Views
igorpadykov
NXP Employee
NXP Employee

Hi WOOSEOK

 

one can try to change format with dts "fsl,interface-pix-fmt" property in

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8x-mek-dp...

driver function imx_lmuxd_bind()

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/lcdif-mux-display.c?h=...

 

Best regards
igor

0 Kudos

832 Views
TKayO
Contributor III

@igorpadykov

Any update or recommend?

0 Kudos

849 Views
TKayO
Contributor III

Hi, Igor.

Thank you for your concern.

 

Your reply is about setting "MEDIA_BUS_FMT...",

And what I asked is about "DRM_FORMAT_... " and I think these two are very different.

 

 

 

0 Kudos