diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-02-26 11:10:22 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-03-12 14:01:50 +0100 |
commit | 84a130bda073c3c02ac870ac54351b0d09cb08b8 (patch) | |
tree | 3fec117381a2401f04f714111545ed87043723d3 /lib/igt_kms.c | |
parent | 3df9f713602342d13a7b4cf6873addd2105b8153 (diff) |
lib/igt_kms: Fix igt_plane_reset to handle cursor planes correctly too
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r-- | lib/igt_kms.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |