From: Andi Shyti <andi@etezian.org>
To: Andi Shyti <andi.shyti@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: Select the deepest available parking mode for rc6
Date: Tue, 24 Mar 2020 17:03:31 +0200 [thread overview]
Message-ID: <20200324150331.GC131880@jack.zhora.eu> (raw)
In-Reply-To: <20200324145351.GA1682@intel.intel>
Hi again, Chris,
> > @@ -622,7 +623,14 @@ void intel_rc6_park(struct intel_rc6 *rc6)
> >
> > /* Turn off the HW timers and go directly to rc6 */
> > set(uncore, GEN6_RC_CONTROL, GEN6_RC_CTL_RC6_ENABLE);
> > - set(uncore, GEN6_RC_STATE, 0x4 << RC_SW_TARGET_STATE_SHIFT);
> > +
> > + if (HAS_RC6pp(rc6_to_i915(rc6)))
> > + target = 0x6; /* deepest rc6 */
> > + else if (HAS_RC6p(rc6_to_i915(rc6)))
> > + target = 0x5; /* deep rc6 */
> > + else
> > + target = 0x4; /* normal rc6 */
>
> can we put names to these values?
actually, you are using these only here and there is a comment to
them... givinb those values a meaningful define is a bit of a
formality, I'd say. It's up to you.
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Thanks,
Andi
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-03-24 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 13:42 [Intel-gfx] [PATCH] drm/i915/gt: Select the deepest available parking mode for rc6 Chris Wilson
2020-03-24 14:53 ` Andi Shyti
2020-03-24 15:03 ` Andi Shyti [this message]
2020-03-24 15:29 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gt: Select the deepest available parking mode for rc6 (rev2) Patchwork
2020-03-24 17:04 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2020-03-24 12:31 [Intel-gfx] [PATCH] drm/i915/gt: Select the deepest available parking mode for rc6 Chris Wilson
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=20200324150331.GC131880@jack.zhora.eu \
--to=andi@etezian.org \
--cc=andi.shyti@intel.com \
--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.