How to update epdc display using frame buffer in Linux?

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

How to update epdc display using frame buffer in Linux?

Jump to solution
938 Views
Namitha_zcs
Contributor I

I am using IMX8ULP EVK with epdc display daughter card(IMXEBOOKDC5).After booting using Linux image the epdc display fails to get updated using frame buffer.When checking the power enable pin for display pmic it remains low,even if I write to frame buffer(compared using android image and this pin gets high whenever I update frame buffer fb0).
Furthermore ,I compared between frame buffer driver C files in both android and linux source (drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c).I found that there is a function in android (mxc_epdc_update_data)defined for updating data from user space.

0 Kudos
Reply
1 Solution
930 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello @Namitha_zcs 

The fb update function in linux driver is mxc_epdc_fb_send_update and defined imxc_epdc_fb_ioctl, if you use MXCFB_SEND_UPDATE in user space, the update function will be called.

Best Regards,
Zhiming

View solution in original post

0 Kudos
Reply
2 Replies
931 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello @Namitha_zcs 

The fb update function in linux driver is mxc_epdc_fb_send_update and defined imxc_epdc_fb_ioctl, if you use MXCFB_SEND_UPDATE in user space, the update function will be called.

Best Regards,
Zhiming

0 Kudos
Reply
855 Views
Namitha_zcs
Contributor I
Hi Zhiming,
Thankyou for your support.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2039047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20update%20epdc%20display%20using%20frame%20buffer%20in%20Linux%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20IMX8ULP%20EVK%20with%20epdc%20display%20daughter%20card(IMXEBOOKDC5).After%20booting%20using%20Linux%20image%20the%20epdc%20display%20fails%20to%20get%20updated%20using%20frame%20buffer.When%20checking%20the%20power%20enable%20pin%20for%20display%20pmic%20it%20remains%20low%2Ceven%20if%20I%20write%20to%20frame%20buffer(compared%20using%20android%20image%20and%20this%20pin%20gets%20high%20whenever%20I%20update%20frame%20buffer%20fb0).%3CBR%20%2F%3EFurthermore%20%2CI%20compared%20between%20frame%20buffer%20driver%20C%20files%20in%20both%20android%20and%20linux%20source%20(drivers%2Fvideo%2Ffbdev%2Fmxc%2Fmxc_epdc_v2_fb.c).I%20found%20that%20there%20is%20a%20function%20in%20android%20(mxc_epdc_update_data)defined%20for%20updating%20data%20from%20user%20space.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2049607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20update%20epdc%20display%20using%20frame%20buffer%20in%20Linux%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2049607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Zhiming%2C%3CBR%20%2F%3EThankyou%20for%20your%20support.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2039133%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20update%20epdc%20display%20using%20frame%20buffer%20in%20Linux%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039133%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246168%22%20target%3D%22_blank%22%3E%40Namitha_zcs%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20fb%20update%20function%20in%20linux%20driver%20is%26nbsp%3B%3CSPAN%3Emxc_epdc_fb_send_update%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eand%20defined%20i%3C%2FSPAN%3E%3CSPAN%3En%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Emxc_epdc_fb_ioctl%2C%20if%20you%20use%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3EMXCFB_SEND_UPDATE%3C%2FSTRONG%3E%20in%20user%20space%2C%20the%20update%20function%20will%20be%20called.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E