<div dir="ltr"><div>Dear All,</div><div><br></div><div>
















<span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">What is the most effective/optimal/recommended way to wait for DRM_MODE_CONNECTED status?</span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US"><br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">This is to make sure when disply manager (uses drm apis) starts and if it do not get the 
DRM_MODE_CONNECTED status as some dependent driver is still loading and setting up (e.g. serializer driver) in that case what is the best way to wait for it?</span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US"><br></span></div><div><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">Should I poll the state repeatedly in a loop? Will this value be automatically get updated?<br>Should I close() the DRM device and re-open() it again?<br>Is there any interrupt/callback we can register for to receive updated for this connector state?</span>



</div><div><br></div><div>ThankĀ  you.</div><div><br></div><div>Best Regards,</div><div>Vikash<br></div></div>