[Intel-gfx] [PATCH igt 5/6] kms_frontbuffer_tracking: destroy all FBs from all formats
Paulo Zanoni
paulo.r.zanoni at intel.com
Thu Dec 22 20:42:07 UTC 2016
Don't just destroy the ones from the default format.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
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
More information about the Intel-gfx
mailing list