Detect HDMI monitor plugged in at run time?

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

Detect HDMI monitor plugged in at run time?

708 Views
davidvescovi
Contributor V

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
Reply
1 Reply

627 Views
igorpadykov
NXP Employee
NXP Employee

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
Reply