public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: remove fb after test
@ 2022-12-29 15:58 Andrzej Hajda
  2022-12-29 16:28 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Andrzej Hajda @ 2022-12-29 15:58 UTC (permalink / raw)
  To: igt-dev; +Cc: Matthew Auld, Nirmoy Das

igt_create_color_fb should be accompanied with igt_remove_fb.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/7331
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
---
 tests/kms_plane_scaling.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 4c621cce842..1a8f1581f3e 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -367,6 +367,8 @@ static void check_scaling_pipe_plane_rot(data_t *d, igt_plane_t *plane,
 	igt_plane_set_fb(plane, NULL);
 	igt_plane_set_position(plane, 0, 0);
 
+	igt_remove_fb(d->drm_fd, &d->fb[0]);
+
 	igt_skip_on_f(commit_ret == -ERANGE || commit_ret == -EINVAL,
 		      "Unsupported scaling factor with fb size %dx%d\n",
 		      w, h);
-- 
2.34.1

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-01-04 12:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29 15:58 [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: remove fb after test Andrzej Hajda
2022-12-29 16:28 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-12-29 17:48 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2022-12-30 18:55 ` [igt-dev] [PATCH i-g-t] " Das, Nirmoy
2023-01-02 10:49   ` [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: cleanup framebuffers " Andrzej Hajda
2023-01-02 10:51     ` Das, Nirmoy
2022-12-30 19:25 ` [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: remove fb " Swati Sharma
2023-01-02 13:09 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_plane_scaling: remove fb after test (rev2) Patchwork
2023-01-02 19:05   ` Andrzej Hajda
2023-01-03 13:43   ` Kamil Konieczny
2023-01-03 17:26     ` Yedireswarapu, SaiX Nandan
2023-01-03 17:16 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-01-04  3:45 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-01-04  7:38   ` Andrzej Hajda
2023-01-04 11:31     ` Veesam, RavitejaX
2023-01-04 12:07       ` Yedireswarapu, SaiX Nandan
2023-01-04 11:55 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox