Hello,
If I remove qt application and run my development app to draw some shape on screen it is working since at that moment there is no drm master and I can set drm master successfully.So I have observed that there is some ioctl call to share master permission DRM_IOCTL_AUTH_MAGIC but it did not helped me.I can hack the kernel code by removing dev->master check on drm_setmaster_ioctl function from drivers/gpu/drm/drm_auth.c but it is not a good approach.
Could you please give me some direction on the issue to see what I am missing?
I am using bsp yocto release 4.14.98 and have a imx8qm-mek platform with hdmi connected to lilliput.
Best Regards
Hi ekrem_sahin
unfortunately I am not aware of other documents.
I believe in your case proper way is to proceed with help of
https://contact.nxp.com/new-prof-svcs-sw-tech
Best regards
igor
Hello Igor,
From the document that you provided, I saw that imx framebuffer api is based on /dev/fb* interfaces.So is it based on using linux frame buffer ?Do you have an example/test source codes for the api ?
Also, I want to use drm ioctl api to reach /dev/dri/card* and want to ask you if you have an example/test source codes since I want to show some dialog on a plane on the QT app and failing while setting drm master when wayland is set already as drm master while opening QT app?
Best Regards
one can check Chapter 4 i.MX Framebuffer API i.MX Graphics User’s Guide
"i.MX 8 on Linux OS supports Direct Rendering Manager (DRM) where the Linux framebuffer
support is limited, recommended to Graphics Buffer Manager (GBM)."
Best regards
igor
Hello Igorpadykov,
I think the framebuffer that you ment above is related to linux fbdev which uses /dev/fb* interfaces but what I am asking is the drm framebuffer
and drm planes by using drm ioctl api to reach /dev/dri/card* interfaces.So I tried to play with drm planes and imx8qm-mek device is supporting
upto 4 planes on hdmi.
Could you please double check my first question and Could you please correct me if I am wrong ?
Best Regards
one can check Chapter 4 i.MX Framebuffer API i.MX Graphics User’s Guide
"i.MX 8 on Linux OS supports Direct Rendering Manager (DRM) where the Linux framebuffer
support is limited, recommended to Graphics Buffer Manager (GBM)."
Best regards
igor