From: Egbert Eich <e4t@freenet.de>
To: Chris Wilson <chris@chris-wilson.co.uk>,
Egbert Eich <eich@freedesktop.org>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH driver/intel] sna/cursor: Make sure hw cursors are disabled before disabling secondary planes
Date: Mon, 4 Jul 2016 13:55:18 +0200 [thread overview]
Message-ID: <20160704115518.GD32155@debian> (raw)
In-Reply-To: <20160621202536.GA22318@nuc-i3427.alporthouse.com>
On Tue, Jun 21, 2016 at 09:25:36PM +0100, Chris Wilson wrote:
> On Tue, Jun 21, 2016 at 07:34:34PM +0200, Egbert Eich wrote:
> > 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.
>
> The cursor would already be controlled by the xf86SetDesiredModes(), so
> we can skip disabling entirely. What we should do instead is add the
> paranoia check, but I can't see an easy way to inquire what the kernel
> thinks the legacy cursor handle should be.
>
> commit f1c757e4518f6835bbff6c940269a5c6be75f202
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date: Tue Jun 21 21:17:15 2016 +0100
>
> sna: Only shutdown unknown secondary planes on CRTC we control
>
> In a ZaphodHead scenario, we do not own all the CRTC and so we should
> not be making changes outside of our zone of control. Also, we only want
> to disable secondary overlay planes and ignore the secondary cursor
> planes which are controlled through the normal modesetting.
>
> As we are now tracking all sprite planes on a CRTC, this leads to much
> simpler code.
Chris, thanks for the patch! I've been able to test it now - it works.
Cheers,
Egbert.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-07-04 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 17:34 [PATCH driver/intel] sna/cursor: Make sure hw cursors are disabled before disabling secondary planes Egbert Eich
2016-06-21 20:25 ` Chris Wilson
2016-07-04 11:55 ` Egbert Eich [this message]
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=20160704115518.GD32155@debian \
--to=e4t@freenet.de \
--cc=chris@chris-wilson.co.uk \
--cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.