summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2022-05-23 13:43:05 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2022-05-24 09:38:09 +0530
commitf91af0ee70ed290890d122ece6b3857222f985b0 (patch)
tree6cf5cfc8c55904d068a203b89db7453fe1b94f8a /lib/intel_batchbuffer.c
parent51663917b40d36086cc1c555ce4f67b22937694d (diff)
tests/kms_flip: Fix mode selection for Nx tests
This patch will find the connector/mode combination that fits into the bandwidth when more than one monitor is connected. Example: When two monitors connected through MST, the second monitor also tries to use the same mode. So two such modes may not fit into the link bandwidth. So, iterate through connected outputs & modes and find a combination of modes those fit into the link BW. V2: * Exit if suitable modes not found in retry. * New function to re-use the code. Cc: Karthik B S <karthik.b.s@intel.com> Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions