[PATCH v4 0/3] tests/kms_async_flips: Create subtest for overlay planes
Melissa Wen
mwen at igalia.com
Sat Mar 29 19:38:26 UTC 2025
On 03/27, André Almeida wrote:
> This patchset creates a subtest for overlay planes. This is supported by amdgpu
> and is merged in the kernel:
>
> https://lore.kernel.org/lkml/173948734065.719858.7405160715916126757.b4-ty@linaro.org/
Hey,
I ran these changes in kernels w/ and w/o atomic async flip support and
w/ and w/o overlay async flip support. I found some problems, mainly in
the way the test handles failures, but also with overlay async support,
overlay-atomic skips when running in the `kms_async_flip` subtest
sequence.
I tested with Cezanne DCN2.1 with Debian and amd-staging-drm-next branch
with your overlay async patches on top (kernel w/ overlay async), kernel
from distro (kernel w/ atomic asycn w/o overlay async) and mainline 6.6.
Melissa
>
> v4:
> - Created a patch to check for DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP, so drivers
> without support for it, skips instead of failing (Melissa)
> - Encapsulated all test paths options into a function to easy maintenance (Melissa)
> - Brought back test description for GitLab compilation
>
> v3:
> - Fixed a bug that was mixing `alternate_sync_async = true` with the overlay path
> - Refactored how the test parameters are being set/unset (patch 1/2)
> - Fixed a bug where a primary buffer was being used with an overlay plane
>
> v2: Add test description for GitLab compilation
>
> André Almeida (3):
> tests/kms_async_flips: Check for atomic async flip cap
> kms_async_flips: Refactor data options
> tests/kms_async_flips: Create subtest for overlay planes
>
> tests/kms_async_flips.c | 86 +++++++++++++++++++++++++++++++++++------
> 1 file changed, 74 insertions(+), 12 deletions(-)
>
> --
> 2.49.0
>
More information about the igt-dev
mailing list