Audio over HDMI Creates a Kernel Panic When Audio Stops

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

Audio over HDMI Creates a Kernel Panic When Audio Stops

1,122 Views
maxkrummenacher
Contributor III

Hi

On an i.MX 8QM system the kernel panics after audio was played over HDMI.

The kernel version is based on lf-6.12.20-2.0.0. It looks like the issue is still present in lf-6.12.49-2.2.0.

Looks like commit c91c717f7113 ("LF-13883: drm: bridge: mhdp: Add info frame remove function") introduced a regression as it does not use the register access helper cdns_mhdp_bus_write() and thus for i.MX 8QM does not write registers in they way they should be written.

The attached patch fixed the issue for me.

Regards

Max

0 Kudos
Reply
2 Replies

605 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @maxkrummenacher 

The Q2 BSP is expected to resolve this issue.

Best Regards,
Zhiming

0 Kudos
Reply

1,077 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @maxkrummenacher 

Reported it, wait for internal reply.

Best Regards,
Zhiming

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2264780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAudio%20over%20HDMI%20Creates%20a%20Kernel%20Panic%20When%20Audio%20Stops%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EOn%20an%20i.MX%208QM%20system%20the%20kernel%20panics%20after%20audio%20was%20played%20over%20HDMI.%3C%2FP%3E%3CP%3EThe%20kernel%20version%20is%20based%20on%26nbsp%3Blf-6.12.20-2.0.0.%20It%20looks%20like%20the%20issue%20is%20still%20present%20in%26nbsp%3Blf-6.12.49-2.2.0.%3C%2FP%3E%3CP%3ELooks%20like%20commit%26nbsp%3Bc91c717f7113%20(%22LF-13883%3A%20drm%3A%20bridge%3A%20mhdp%3A%20Add%20info%20frame%20remove%20function%22)%20introduced%20a%20regression%20as%20it%20does%20not%20use%20the%20register%20access%20helper%26nbsp%3Bcdns_mhdp_bus_write()%20and%20thus%20for%20i.MX%208QM%20does%20not%20write%20registers%20in%20they%20way%20they%20should%20be%20written.%3C%2FP%3E%3CP%3EThe%20attached%20patch%20fixed%20the%20issue%20for%20me.%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EMax%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2265819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Audio%20over%20HDMI%20Creates%20a%20Kernel%20Panic%20When%20Audio%20Stops%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2265819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F18368%22%20target%3D%22_blank%22%3E%40maxkrummenacher%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EReported%20it%2C%20wait%20for%20internal%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2327419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Audio%20over%20HDMI%20Creates%20a%20Kernel%20Panic%20When%20Audio%20Stops%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2327419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F18368%22%20target%3D%22_blank%22%3E%40maxkrummenacher%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20Q2%20BSP%20is%20expected%20to%20resolve%20this%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E