Multi connector lease support 70/27270/1 sandbox/dhobsong/multi-conn-lease-wip
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Tue, 15 Mar 2022 07:46:49 +0000 (16:46 +0900)
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 16 Mar 2022 01:59:38 +0000 (10:59 +0900)
commit68dc88f9fe3ff8063182d9c3008852f7f7715fc8
tree7fb8b788d0369a9cf1727b6e759c1bf2cf078017
parenta669947c687ba6dceb9c82aa87dff5f8d453273e
Multi connector lease support

Add support for having multiple connectors / CTRCs in a single lease.
The lease manager receives a list of lease configurations that
specify the name and list of connectors to include in each lease.

All DRM planes that are not shared between muliple CRTS are added
for each connector contained in the lease.

If the lease manager is initialized without a list of lease
configurations it will fall back to the previous 1 connector
per lease configuration.

Change-Id: I6699e7c8f426bab9fadbc64fe4ed242a834376bf
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
drm-lease-manager/drm-lease.h
drm-lease-manager/lease-manager.c
drm-lease-manager/lease-manager.h