Mandatory Test Suite for KMS Drivers?
Hi,
Back at XDC we floated the idea of creating a test suite for IGT that we expect any KMS driver to pass, similar to what v4l2-compliance and cec-compliance provide for v4l2 and CEC respectively.
I was looking at the list of tests, and it's fairly massive, so it's not clear to me what tests we could start this suite with. I can only assume all the KMS (but the chamelium ones) and fbdev related ones would be a good start?
What do you think?
Maxime
Quoted 6 lines · Maxime Ripard
Hi,
Back at XDC we floated the idea of creating a test suite for IGT that we expect any KMS driver to pass, similar to what v4l2-compliance and cec-compliance provide for v4l2 and CEC respectively.
Quoted 6 lines
I was looking at the list of tests, and it's fairly massive, so it's not clear to me what tests we could start this suite with. I can only assume all the KMS (but the chamelium ones) and fbdev related ones would be a good start?
What do you think?
I believe we should start with the group of the tests that we know that are reliably passing today on most of the platforms and then increase the list as the tests and drivers become more reliable.
For instance, many of these would be candidate to be filtered out for now
https://intel-gfx-ci.01.org/tree/drm-next/index.html?testfilter=kms
compared to the whole view of kms tests:
https://intel-gfx-ci.01.org/tree/drm-next/shards-all.html?testfilter=kms
Thanks,
Rodrigo.
Quoted 1 line
Maxime
Hi,
Quoted 16 lines · Rodrigo Vivi
Quoted 10 lines · Maxime Ripard
Back at XDC we floated the idea of creating a test suite for IGT that we expect any KMS driver to pass, similar to what v4l2-compliance and cec-compliance provide for v4l2 and CEC respectively.
I was looking at the list of tests, and it's fairly massive, so it's not clear to me what tests we could start this suite with. I can only assume all the KMS (but the chamelium ones) and fbdev related ones would be a good start?
What do you think?
I believe we should start with the group of the tests that we know that are reliably passing today on most of the platforms and then increase the list as the tests and drivers become more reliable.
Quoted 5 lines
For instance, many of these would be candidate to be filtered out for now
https://intel-gfx-ci.01.org/tree/drm-next/index.html?testfilter=kmscompared to the whole view of kms tests:
https://intel-gfx-ci.01.org/tree/drm-next/shards-all.html?testfilter=kms
We are running some of IGT on Panfrost + amdgpu + i915 as part of KernelCI as well: go to https://linux.kernelci.org/test/ and search for 'igt-gpu'. This gets run for mainline, next, and whatever other kernel trees push into i915.
There is a Grafana-based dashboard that the KernelCI team have been working on to visualise test runs, but it's currently having some backend issues so I can't show you a link for that. I did raise a suggestion in their design discussion for a proper testing dashboard for making it easier to see the status, so feel free to pile in there:
https://github.com/kernelci/kernelci-project/discussions/28#discussioncomment-2293696
Cheers,
Daniel
Hi Daniel,
Quoted 20 lines · Daniel Stone
Quoted 19 lines · Rodrigo Vivi
Quoted 10 lines · Maxime Ripard
Back at XDC we floated the idea of creating a test suite for IGT that we expect any KMS driver to pass, similar to what v4l2-compliance and cec-compliance provide for v4l2 and CEC respectively.
I was looking at the list of tests, and it's fairly massive, so it's not clear to me what tests we could start this suite with. I can only assume all the KMS (but the chamelium ones) and fbdev related ones would be a good start?
What do you think?
I believe we should start with the group of the tests that we know that are reliably passing today on most of the platforms and then increase the list as the tests and drivers become more reliable.
For instance, many of these would be candidate to be filtered out for now
https://intel-gfx-ci.01.org/tree/drm-next/index.html?testfilter=kms
Quoted 7 lines
Quoted 2 lines
compared to the whole view of kms tests:
https://intel-gfx-ci.01.org/tree/drm-next/shards-all.html?testfilter=kmsWe are running some of IGT on Panfrost + amdgpu + i915 as part of KernelCI as well: go to https://linux.kernelci.org/test/ and search for 'igt-gpu'. This gets run for mainline, next, and whatever other kernel trees push into i915.
I was mainly interested in KMS, but I saw that there's an igt-kms test as well, thanks!
Quoted 6 lines
There is a Grafana-based dashboard that the KernelCI team have been working on to visualise test runs, but it's currently having some backend issues so I can't show you a link for that. I did raise a suggestion in their design discussion for a proper testing dashboard for making it easier to see the status, so feel free to pile in there:
https://github.com/kernelci/kernelci-project/discussions/28#discussioncomment-2293696
I'll have a look, thanks
Maxime
Hi Rodrigo,
Quoted 12 lines · Rodrigo Vivi
Quoted 11 lines · Maxime Ripard
Hi,
Back at XDC we floated the idea of creating a test suite for IGT that we expect any KMS driver to pass, similar to what v4l2-compliance and cec-compliance provide for v4l2 and CEC respectively.
I was looking at the list of tests, and it's fairly massive, so it's not clear to me what tests we could start this suite with. I can only assume all the KMS (but the chamelium ones) and fbdev related ones would be a good start?
Quoted 5 lines
Quoted 1 line
What do you think?
I believe we should start with the group of the tests that we know that are reliably passing today on most of the platforms and then increase the list as the tests and drivers become more reliable.
I can see why that would be an objective too, but I'm not sure it would cover mine. What I'd like this series to be is something we can ask upfront to new drivers being submitted to make sure that they are sane.
Whether or not old drivers pass that bar is a bit irrelevant to that objective (and this would actually create tasks for newcomers that are looking for something to work on).
So, yeah, I don't mind having failing tests on older drivers, I kind of even expect them to fail somehow. It would essentially be a bar to show what any driver should strive for, not the lowest common denominator.
Does that make sense?
Quoted 5 lines
For instance, many of these would be candidate to be filtered out for now
https://intel-gfx-ci.01.org/tree/drm-next/index.html?testfilter=kmscompared to the whole view of kms tests:
https://intel-gfx-ci.01.org/tree/drm-next/shards-all.html?testfilter=kms
So the set of tests that are always run would be the latter, right?
Maxime