From 11d51103854cc881862eb92b8062f700888ee024 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 17 Jun 2019 03:33:24 +0300 Subject: tests: Extend BRU/BRS allocation test to cover M3-N The BRU/BRS allocation test only covers the H3 ES2.0 SoC as that was the only hardware platform supported by the DU driver that offered the required features at the time the test was written. Now that M3-N is supported in the DU driver, support it in the test script. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- tests/kms-test-brxalloc.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/kms-test-brxalloc.py b/tests/kms-test-brxalloc.py index 2e3f6cb..e6d9f03 100755 --- a/tests/kms-test-brxalloc.py +++ b/tests/kms-test-brxalloc.py @@ -17,11 +17,10 @@ class BRxAllocTest(kmstest.KMSTest): def main(self): # This test requires usage of two CRTCs connected to the same VSPDL # instance to test dynamic assignment of the BRU and BRS to pipelines. - # This is only occurs on H3 ES2.0 (and M3N which we don't support yet). - # Check the SoC model through sysfs as we can't detected it through the - # DRM/KMS API. + # This is only occurs on H3 ES2.0 and M3-N. Check the SoC model through + # sysfs as we can't detected it through the DRM/KMS API. soc = open("/sys/devices/soc0/soc_id", "rb").read().strip().decode() - if soc != "r8a7795": + if soc not in ["r8a7795", "r8a77965"]: self.skip("VSPDL (BRU+BRS) not available") return -- cgit v1.2.3