Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Move a plane from a CRTC to another #34

Description

@emersion

#21 was about exposing a per-output API to users. Now that our API allows for multiple outputs, we still need to manage and allocate planes at the device layer. Basically, I think we'll want to expose a per-output API but perform a per-device plane allocation.

Sometimes we'll need to migrate planes from one CRTC to another. To do so, we need to wait for the old CRTC to stop using the plane, then wait for a new frame submission on the new one to start using it.

This will fix this situation:

We need to handle the case where an output is hotplugged but cannot be enabled because of bandwidth limits. In this case, we need to disable planes on other outputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions