public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_kms: drop unneeded drmModeAtomicSetCursor() call
@ 2019-04-25 15:43 Emil Velikov
  2019-04-25 16:41 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Emil Velikov @ 2019-04-25 15:43 UTC (permalink / raw)
  To: igt-dev

From: Emil Velikov <emil.velikov@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@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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-15 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-25 15:43 [igt-dev] [PATCH i-g-t] lib/igt_kms: drop unneeded drmModeAtomicSetCursor() call Emil Velikov
2019-04-25 16:41 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-04-26  6:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-05-15 12:21 ` [igt-dev] [i-g-t] " Ser, Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox