From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Eric Anholt <eric@anholt.net>
Cc: linux-rpi-kernel@lists.infradead.org,
Florian Fainelli <f.fainelli@gmail.com>,
Scott Branden <sbranden@broadcom.com>,
Eben Upton <eben@raspberrypi.org>,
"Cobley, Dom" <dom@raspberrypi.org>,
Stephen Warren <swarren@wwwdotorg.org>,
dri-devel@lists.freedesktop.org, Lee Jones <lee@kernel.org>,
Gerd Hoffmann <kraxel@redhat.com>, Ray Jui <rjui@broadcom.com>,
bcm-kernel-feedback-list@broadcom.com, "Hollingworth,
Gordon" <gordon@raspberrypi.org>, Shawn Guo <shawnguo@kernel.org>
Subject: Re: [PATCH] drm/vc4: Add runtime PM support to the HDMI encoder driver
Date: Fri, 14 Apr 2017 21:31:04 +0200 [thread overview]
Message-ID: <20170414213104.4ca8e4f6@bbrezillon> (raw)
In-Reply-To: <87r30uyhob.fsf@eliezer.anholt.net>
On Fri, 14 Apr 2017 11:20:52 -0700
Eric Anholt <eric@anholt.net> wrote:
> Boris Brezillon <boris.brezillon@free-electrons.com> writes:
>
> > The HDMI driver is currently enabling all clks and probe time and keep
> > the power-domain connected to the HDMI encoder enabled.
>
> How about "The HDMI driver is currently enabling all clocks at probe
> time and keeps the power domain..."?
Yep.
>
> > Move all activation code to vc4_hdmi_encoder_enable() and make sure
> > the clks and power domain are released when the HDMI encoder is not used
> > by adding deactivation steps in vc4_hdmi_encoder_disable().
> >
> > Note that the sequencing imposed by the IP requires that we move
> > vc4_hdmi_encoder_mode_set() code into vc4_hdmi_encoder_enable().
>
> I'm quite happy to see _mode_set() gone.
>
> I'm hoping to go through a bunch of mode switching testing with this
> Monday.
Ok, cool. Let me know if you have any problem.
Thanks,
Boris
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-04-14 19:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 16:39 [PATCH] drm/vc4: Add runtime PM support to the HDMI encoder driver Boris Brezillon
2017-04-14 18:20 ` Eric Anholt
2017-04-14 19:31 ` Boris Brezillon [this message]
2017-04-18 21:34 ` Eric Anholt
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=20170414213104.4ca8e4f6@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=dom@raspberrypi.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=eben@raspberrypi.org \
--cc=eric@anholt.net \
--cc=f.fainelli@gmail.com \
--cc=gordon@raspberrypi.org \
--cc=kraxel@redhat.com \
--cc=lee@kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=rjui@broadcom.com \
--cc=sbranden@broadcom.com \
--cc=shawnguo@kernel.org \
--cc=swarren@wwwdotorg.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