From: Egbert Eich <eich@freedesktop.org>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH driver/intel] sna/cursor: Make sure hw cursors are disabled before disabling secondary planes
Date: Tue, 21 Jun 2016 19:34:34 +0200 [thread overview]
Message-ID: <1466530474-11587-1-git-send-email-eich@freedesktop.org> (raw)
When the hw cursors are not disabled before the cursor planes get disabled
we may lose the cursor later on. Thus make sure the cursors are disabled
before the cursor planes are.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
---
src/sna/sna_display.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index d790975..412c192 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -8081,6 +8081,9 @@ void sna_mode_check(struct sna *sna)
if (sna->mode.hidden)
return;
+ /* make sure the hw cursors are disabled before disabling
+ the secondary planes which include the cursor plane */
+ sna_hide_cursors(sna->scrn);
disabled = sna_mode_disable_secondary_planes(sna);
/* Validate CRTC attachments and force consistency upon the kernel */
--
2.7.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2016-06-21 17:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 17:34 Egbert Eich [this message]
2016-06-21 20:25 ` [PATCH driver/intel] sna/cursor: Make sure hw cursors are disabled before disabling secondary planes Chris Wilson
2016-07-04 11:55 ` Egbert Eich
2016-06-22 12:34 ` ✗ Ro.CI.BAT: failure for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466530474-11587-1-git-send-email-eich@freedesktop.org \
--to=eich@freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox