[igt-dev] [PATCH] tests/kms_atomic_interruptible: fix a warning message on AMD GPU

Yin, Tianci (Rico) Tianci.Yin at amd.com
Fri Aug 27 02:26:22 UTC 2021


[AMD Official Use Only]

Hi Rodrigo Siqueira,

Thanks for your reviewing.
I only sent the patch one time by git send-email, I don't know where does the V2 come from.

Thanks,
Rico

________________________________
From: Siqueira, Rodrigo <Rodrigo.Siqueira at amd.com>
Sent: Thursday, August 26, 2021 20:36
To: Yin, Tianci (Rico) <Tianci.Yin at amd.com>
Cc: igt-dev at lists.freedesktop.org <igt-dev at lists.freedesktop.org>; Petri Latvala <petri.latvala at intel.com>; Arkadiusz Hiler <arek at hiler.eu>; Mark Yacoub <markyacoub at google.com>; Wentland, Harry <Harry.Wentland at amd.com>; Choi, Nicholas <Nicholas.Choi at amd.com>
Subject: Re: [PATCH] tests/kms_atomic_interruptible: fix a warning message on AMD GPU

On 08/25, Tianci Yin wrote:
> From: "Tianci.Yin" <tianci.yin at amd.com>
>
> [why]
> For subtest legacy-setmode and atomic-setmode, fb buffer is
> unbinded from plane by block_plane(), then igt_display_commit2()
> will trigger a dmesg warning message in drm_atomic_helper_commit(),
> since for block commit, drm will wait fences that represents
> finishing fb writing, when it find this fence has no accompanying
> fb, it gives out a warning.
>
> [how]
> Just remove igt_plane_set_fb() from block_plane() to retain
> the fb binding with plane.
> Verified on AMD Radeon Pro W5500 and Intel UHD Graphics 630
> (inside i7-9700K), both pass.
>
> Signed-off-by: Tianci.Yin <tianci.yin at amd.com>
> ---
>  tests/kms_atomic_interruptible.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c
> index 0a127921..03980d6e 100644
> --- a/tests/kms_atomic_interruptible.c
> +++ b/tests/kms_atomic_interruptible.c
> @@ -49,7 +49,6 @@ static int block_plane(igt_display_t *display, igt_output_t *output, enum plane_
>
>                if (test_type == test_legacy_modeset || test_type == test_atomic_modeset) {
>                        igt_output_set_pipe(output, PIPE_NONE);
> -                     igt_plane_set_fb(plane, NULL);
>                }
>                igt_plane_set_fence_fd(plane, sw_sync_timeline_create_fence(timeline, 1));
>
> --
> 2.25.1
>

Btw, did you submit a V2?

If so, it looks like that there is a merge problem in the new version, see:

https://patchwork.freedesktop.org/series/94006/#rev2

Thanks

--
Rodrigo Siqueira
https://siqueira.tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20210827/34044ee2/attachment.htm>


More information about the igt-dev mailing list