Skip to content

backend-drm: Replace drmModeGetConnector with drmModeGetConnectorCurrent

Fixes: #437 (closed)

for faster start-up of weston Replace drmModeGetConnector with drmModeGetConnectorCurrent.After replacement the impact was around 0.220 sec which is large enough.

below are the numbers of weston startup.The measurements are taken from weston log timestamp.

start up time using drmGetConnector = 0.337 seconds

start up time using drmGetConnectorCurrent = 0.097 seconds

The timing are measured based on the difference between weston version log and shell loading log timestamp.

Signed-off-by: Veeresh Kadasani veereshkadasani88@gmail.com

Edited by Veeresh Kadasani

Merge request reports

Loading