diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-06-17 02:31:28 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-09 22:51:47 +0300 |
commit | 74d60e252839a03a2f179d82126d1e0db1b4184e (patch) | |
tree | b16af81cd62b007518d6440e92987e38a5072d63 /libkms++/modedb_dmt.cpp | |
parent | 2236a8ccacdfed5ff5f6873ed6618eccf570193d (diff) |
card: Add support for writeback connectors
Enable enumeration of writeback connectors if both libdrm and the device
support it. The new Card::has_writeback() method report if the card
support writeback connectors.
Existing code that expect all connectors to model an output may be
confused by the sudden availability of new connectors. To handle this
issue,
- add a KMSXX_DISABLE_WRITEBACK_CONNECTORS environment variable to
disable enumeration of writeback connectors, similarly to universal
planes ; and
- ignore writeback connectors where no specific connector is requested
(Card::get_first_connected_connector(),
ResourceManager::reserve_connector() if no connector name is
specified, and applications that use all connected outputs).
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'libkms++/modedb_dmt.cpp')
0 files changed, 0 insertions, 0 deletions