mbox series

[0/2] vkms: Add support for multiple connectors

Message ID 20221202142051.136651-1-marius.vlad@collabora.com (mailing list archive)
Headers show
Series vkms: Add support for multiple connectors | expand

Message

Marius Vlad Dec. 2, 2022, 2:20 p.m. UTC
With multiple outputs available we can perform management of outputs at
a more granular level, such that we're able to turn off or on, several
outputs at a time, or combinations that arise from doing that. 

The Weston project use VKMS when running its test suite in CI, and we
have now uses cases which would need to ability to set-up the outputs
DPMS/state individually, rather than globally -- which would affect all
outputs. This an attempt on fixing that by giving the possibility to
create more than one output, and thus allowing to run tests that could
exercise code paths in the compositor related to management of outputs.

Marius Vlad (2):
  vkms: Pass the correct bitmask for possible crtcs
  vkms: Add support for multiple connectors

 drivers/gpu/drm/vkms/vkms_crtc.c      |  3 +--
 drivers/gpu/drm/vkms/vkms_drv.c       | 26 ++++++++++++++++++++++----
 drivers/gpu/drm/vkms/vkms_drv.h       |  8 +++++---
 drivers/gpu/drm/vkms/vkms_output.c    |  7 +++----
 drivers/gpu/drm/vkms/vkms_writeback.c | 18 ++++++++----------
 5 files changed, 39 insertions(+), 23 deletions(-)