From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 1/1] drm/i915/rpm: Enable runtime pm autosuspend by default
Date: Thu, 11 Nov 2021 14:42:11 +0200 [thread overview]
Message-ID: <YY0Po9k9biW6mR3Q@intel.com> (raw)
In-Reply-To: <YYxGljFixGqaO3Ti@intel.com>
On Wed, Nov 10, 2021 at 05:24:22PM -0500, Rodrigo Vivi wrote:
> On Wed, Nov 10, 2021 at 01:46:46PM +0200, Ville Syrjälä wrote:
> > On Wed, Nov 10, 2021 at 10:59:26AM +0530, Tilak Tangudu wrote:
> > > Enable runtime pm autosuspend by default for gen12 and
> > > later versions.
> > >
> > > Signed-off-by: Tilak Tangudu <tilak.tangudu@intel.com>
> > > ---
> > > drivers/gpu/drm/i915/intel_runtime_pm.c | 4 ++++
> > > 1 file changed, 4 insertions(+)
> > >
> > > diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
> > > index eaf7688f517d..ef75f24288ef 100644
> > > --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> > > +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> > > @@ -600,6 +600,10 @@ void intel_runtime_pm_enable(struct intel_runtime_pm *rpm)
> > > pm_runtime_use_autosuspend(kdev);
> > > }
> > >
> > > + /* XXX: Enable by default only for newer platforms for now */
> > > + if (GRAPHICS_VER(i915) >= 12)
> > > + pm_runtime_allow(kdev);
> >
> > If we change some default then we should just do it across the board.
> > There is nothing special about tgl+.
>
> Nothing special with tgl and newer platforms indeed. This is why we
> have the XXX message here.
>
> The problem in the last attempt was with the gen9 platforms.
What problem was that?
> Apparently some special there, and I didn't want to block the
> progress while we cannot get to the gen9 bugs.
>
> >
> > > +
> > > /*
> > > * The core calls the driver load handler with an RPM reference held.
> > > * We drop that here and will reacquire it during unloading in
> > > --
> > > 2.25.1
> >
> > --
> > Ville Syrjälä
> > Intel
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2021-11-11 12:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 5:29 [Intel-gfx] [PATCH 0/1] drm/i915/rpm: Enable runtime pm autosuspend by default Tilak Tangudu
2021-11-10 5:29 ` [Intel-gfx] [PATCH 1/1] " Tilak Tangudu
2021-11-10 11:46 ` Ville Syrjälä
2021-11-10 22:24 ` Rodrigo Vivi
2021-11-11 12:42 ` Ville Syrjälä [this message]
2021-11-11 19:26 ` Vivi, Rodrigo
2021-11-10 6:03 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-11-10 7:30 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2021-11-15 10:10 [Intel-gfx] [PATCH 0/1] " Tilak Tangudu
2021-11-15 10:10 ` [Intel-gfx] [PATCH 1/1] drm/i915/rpm: " Tilak Tangudu
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=YY0Po9k9biW6mR3Q@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.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