egl: Relax locking

Don't look the display in cases where we don't need it, or drop the lock
before calling down to driver in cases where we do need the lock to
lookup objects.

Closes: #7039
Signed-off-by: Rob Clark <>
235 jobs for !18050 with egl/lock-contention in 64 minutes and 36 seconds (queued for 11 seconds)
merge request