Multi connector lease support 70/27270/2
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>
Fri, 25 Mar 2022 07:33:36 +0000 (16:33 +0900)
commite81466892689b6814d5e9bf0e80b792bfee47c83
tree7fb8b788d0369a9cf1727b6e759c1bf2cf078017
parentd2ada94bcd4e125009d4ccdda7e5a8d01a96efe2
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.

Bug-AGL: SPEC-3815

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