From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Rob Clark <robdclark@gmail.com>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: [RFC] dpms handling on atomic drivers
Date: Mon, 10 Nov 2014 12:45:44 -0800 [thread overview]
Message-ID: <20141110124544.59f72341@jbarnes-t420> (raw)
In-Reply-To: <CAF6AEGsEqpcWqF79qz1K5sbe5YG9yfTmD3i8VojBi42EcoV3OQ@mail.gmail.com>
On Thu, 6 Nov 2014 19:35:51 -0500
Rob Clark <robdclark@gmail.com> wrote:
> On Thu, Nov 6, 2014 at 6:29 PM, Daniel Vetter <daniel@ffwll.ch> wrote:
> >
> > That aside I guess I need to elaborate on what makes dpms special in
> > i915, and why there's a real difference between crtc->enable == true
> > && ->active == false and crtc->enable == false in i915. For complex
> > configs we do resource checking (shared dplls) and that's done in
> > the modeset. For a pipe which has been disabled just with dpms we
> > then guarantee that we'll keep these resources reserve and so will
> > always be able to enable the pipe again. If you disable the pipe
> > completely (i.e. set crtc->enable to false) we'll release these
> > resources. E.g. in the i915 share dpll code we have both an active
> > refcount (does the ppl need to be running) and a reference mask
> > (which crtc is referencing this pll, even when the crtc is disabled
> > with dpms).
>
> ahh, ok, "reserved but not enabled" makes a lot more sense.. that was
> the distinction that I was missing. That probably deserves to be in
> headerdoc somewhere..
A rename would be nice too; it's very misleading. Though with a move
to a boolean DPMS internal state, it should be possible to drop it and
just re-alloc all the resources on DPMS on (iow treat both DPMS off and
on as mode sets). But that's not something that should block these
changes by any means.
Jesse
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2014-11-10 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 9:43 [RFC] dpms handling on atomic drivers Daniel Vetter
2014-11-06 22:06 ` Rob Clark
2014-11-06 22:35 ` Sean Paul
2014-11-06 23:33 ` Daniel Vetter
2014-11-06 23:48 ` Daniel Vetter
2014-11-06 23:29 ` Daniel Vetter
2014-11-07 0:35 ` Rob Clark
2014-11-10 20:45 ` Jesse Barnes [this message]
2014-11-06 23:31 ` Stéphane Marchesin
2014-11-06 23:56 ` Daniel Vetter
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=20141110124544.59f72341@jbarnes-t420 \
--to=jbarnes@virtuousgeek.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=robdclark@gmail.com \
/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