Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1ff718d authored by Fuad Hossain's avatar Fuad Hossain
Browse files

drm: Read dp mst edid immediately after plugin



In the current implementation, if a new dp
connector is plugged in to an existing port, the
edid is not read during plugin time. The edid is
read when userspace calls get_connector(), while
kernel is holding the atomic modeset lock. Since
the get_edid call may take a couple of seconds,
no frames can be committed during this time,
which causes a momentary freeze.

Fix this issue by reading and caching the edid as
soon as the connector is plugged in. This will
prevent the atomic commit from blocking,
resulting in no freeze upon plugin.

CRs-Fixed: 2496461
Change-Id: I9414ce072c8e6e4919c15291331e9e08b9030460
Signed-off-by: default avatarFuad Hossain <fhossain@codeaurora.org>
parent 28ad72b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment