All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Kieran Bingham <kieran.bingham@ideasonboard.com>
Subject: [kms-tests] [PATCH] tests: Extend BRU/BRS allocation test to cover M3-N
Date: Mon, 17 Jun 2019 03:35:36 +0300	[thread overview]
Message-ID: <20190617003536.30936-1-laurent.pinchart@ideasonboard.com> (raw)

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>
---
 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 2e3f6cb8b39e..f1902f3baf1d 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 M3N. 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 != "r8a7795" and soc != "r8a77965":
             self.skip("VSPDL (BRU+BRS) not available")
             return
 
-- 
Regards,

Laurent Pinchart


             reply	other threads:[~2019-06-17  0:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-17  0:35 Laurent Pinchart [this message]
2019-06-17  8:29 ` [kms-tests] [PATCH] tests: Extend BRU/BRS allocation test to cover M3-N Sergei Shtylyov
2019-06-17 20:26   ` Laurent Pinchart
2019-06-18 21:33 ` Kieran Bingham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190617003536.30936-1-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.