[igt-dev] [CI 2/3] lib/igt_kms: Fix igt_plane_reset to handle cursor planes correctly too
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Wed Mar 7 15:28:16 UTC 2018
From: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
lib/igt_kms.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 022abfe7..6bac4d1f 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1723,6 +1723,7 @@ static void igt_plane_reset(igt_plane_t *plane)
igt_plane_clear_prop_changed(plane, IGT_PLANE_IN_FENCE_FD);
plane->values[IGT_PLANE_IN_FENCE_FD] = ~0ULL;
+ plane->gem_handle = 0;
}
static void igt_pipe_reset(igt_pipe_t *pipe)
--
2.14.3
More information about the igt-dev
mailing list