How to wait for DRM_MODE_CONNECTED status?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

What is the most effective/optimal/recommended way to wait for DRM_MODE_CONNECTED status?

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?

Should I poll the state repeatedly in a loop? Will this value be automatically get updated?
Should I close() the DRM device and re-open() it again?
Is there any interrupt/callback we can register for to receive updated for this connector state?

Thank  you.

Best Regards,
Vikash
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux