summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-17 03:33:24 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-19 03:14:04 +0300
commit11d51103854cc881862eb92b8062f700888ee024 (patch)
treecf8e803de7148a8f1f695826f932f05b5502eb2e
parent23220321cc14ed92b35536007efda7d49ecea7c3 (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
-rwxr-xr-xtests/kms-test-brxalloc.py7
1 files 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