Skip to content
Commit fc0a74a4 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

backend-drm: skip EDID parsing if no change



Performance-wise this is moot, but since we are detecting if the raw
EDID data changed, might as well use it.

Now we have a path where the head's device_changed is almost guaranteed
since EDID changed, and that's useful for the next patch.

We can only do this, because the core initializes a head with values
that we would be setting anyway when EDID is missing, e.g. disconnected
head on compositor start-up.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 2c0a9c06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment