Detect HDMI monitor plugged in at run time?

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect HDMI monitor plugged in at run time?

147 Views
davidvescovi
Contributor IV

Is there any kind of API call that I can make to determine if an HDMI monitor is attached at run time?

I need to call from my application.

I am using Linux yocto build on an iMX8m.

0 Kudos
1 Reply

66 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi David

one can look at function imx_hdp_connector_detect() in

linux/drivers/gpu/drm/imx/hdp/imx-hdp.c

imx-hdp.c\hdp\imx\drm\gpu\drivers - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos