[igt-dev] [PATCH i-g-t] lib/igt_kms: drop unneeded drmModeAtomicSetCursor() call
Emil Velikov
emil.l.velikov at gmail.com
Thu Apr 25 15:43:34 UTC 2019
From: Emil Velikov <emil.velikov at collabora.com>
Currently we allocate a state and set the state cursor to 0. The latter
is not needed since it's already zero.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Please push this for me if patch looks good. I have commit access, yet
am really short on time at the moment :-(
---
lib/igt_kms.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index df9aafd2..de310042 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -3274,7 +3274,6 @@ static int igt_atomic_commit(igt_display_t *display, uint32_t flags, void *user_
if (display->is_atomic != 1)
return -1;
req = drmModeAtomicAlloc();
- drmModeAtomicSetCursor(req, 0);
for_each_pipe(display, pipe) {
igt_pipe_t *pipe_obj = &display->pipes[pipe];
--
2.21.0
More information about the igt-dev
mailing list