Disable disconnected connectors holding to an encoder at Init.
Zombie connectors could be disconnected but holding to an encoder, taking a CRTC that should be unused (potentially due to bios enabling it on for the warning screen). As the CRTC is being initialized, all connectors connected to it should be disabled. This is a workaround for a bug on Hatch where Puff enables a connector in dev mode before Chrome even starts. The kernel maps the HW state at initial modeset (with a dangling connector attached to a CRTC). When an Atomic Modeset is performed, it fails to modeset as the CRTC is already attached to another dead connector. BUG=1067121. TEST=Puff should be work fine with atomic modeset. All displays should be enabled with no problem. Change-Id: I68f554a4450c9384bdd2762d043f6f254d2365be Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2350359 Commit-Queue: Mark Yacoub <markyacoub@google.com> Reviewed-by:Daniel Nicoara <dnicoara@chromium.org> Cr-Commit-Position: refs/heads/master@{#807585}
Showing
Please register or sign in to comment