Don't just destroy the ones from the default format.
Signed-off-by: Paulo Zanoni <[email protected]>
---
tests/kms_frontbuffer_tracking.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 8aa6362..b85f56b 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -1399,7 +1399,10 @@ static void setup_modeset(void)
static void teardown_modeset(void)
{
- destroy_fbs(FORMAT_DEFAULT);
+ enum pixel_format f;
+
+ for (f = 0; f < FORMAT_COUNT; f++)
+ destroy_fbs(f);
}
static void setup_sink_crc(void)
--
2.7.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx