From: Jani Nikula <jani.nikula@linux.intel.com>
To: dhinakaran.pandiyan@intel.com,
vathsala nagaraju <vathsala.nagaraju@intel.com>
Cc: Puthikorn Voravootivat <puthik@chromium.org>,
intel-gfx@lists.freedesktop.org,
Ashutosh D Shukla <ashutosh.d.shukla@intel.com>,
Maulik V Vaghela <maulik.v.vaghela@intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH] drm/i915/psr: Adds psrwake options for all platforms
Date: Tue, 19 Jun 2018 11:46:40 +0300 [thread overview]
Message-ID: <87y3fbw4cv.fsf@intel.com> (raw)
In-Reply-To: <1529361820.7432.132.camel@intel.com>
On Mon, 18 Jun 2018, Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> wrote:
> On Mon, 2018-06-18 at 11:42 +0530, vathsala nagaraju wrote:
>> From: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
>>
>> Adds new psrwake options defined in the below table.
>> Platform PSR wake options vbt version
>> KBL/CFL/WHL All(205+)
>> BXT Uses old interpretation.
>> CNL/ICL+ All(205+)
>> GLK All(205+)
>> SKL All PV releases (Check for 205+ might help but
>> cannot be foolproof)
>>
>> We will continue with newer interpretation for SKL from 205.
> Let's hope this works for most machines out there.
>
> It'd be easier to distinguish newer updated patches if you use version
> numbers.
>
> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Thanks for the patch and review, pushed to dinq with the checkpatch
warnings fixed while at it.
BR,
Jani.
>
>>
>> v2: Jani
>> Keep the bdb version check.
>> v3:
>> Apply newer version for skl from 205+(DK).
>> Add (version check && platform list) (Jani).
>> Add bdb version for each platform in commit message(DK).
>>
>> Cc: Jani Nikula <jani.nikula@intel.com>
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Cc: Puthikorn Voravootivat <puthik@chromium.org>
>> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
>> Cc: Ashutosh D Shukla <ashutosh.d.shukla@intel.com>
>> Cc: Maulik V Vaghela <maulik.v.vaghela@intel.com>
>>
>> Signed-off-by: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
>> ---
>> drivers/gpu/drm/i915/intel_bios.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/intel_bios.c
>> b/drivers/gpu/drm/i915/intel_bios.c
>> index 465dff4..9ef0464 100644
>> --- a/drivers/gpu/drm/i915/intel_bios.c
>> +++ b/drivers/gpu/drm/i915/intel_bios.c
>> @@ -710,7 +710,8 @@ static int intel_bios_ssc_frequency(struct
>> drm_i915_private *dev_priv,
>> * New psr options 0=500us, 1=100us, 2=2500us, 3=0us
>> * Old decimal value is wake up time in multiples of 100 us.
>> */
>> - if (bdb->version >= 209 && IS_GEN9_BC(dev_priv)) {
>> + if (bdb->version >= 205 && (IS_GEN9_BC(dev_priv) ||
>> + IS_GEMINILAKE(dev_priv) || (INTEL_GEN(dev_priv) >= 10)))
>> {
>> switch (psr_table->tp1_wakeup_time) {
>> case 0:
>> dev_priv->vbt.psr.tp1_wakeup_time_us = 500;
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-06-19 8:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 6:12 [PATCH] drm/i915/psr: Adds psrwake options for all platforms vathsala nagaraju
2018-06-18 6:16 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/psr: Adds psrwake options for all platforms (rev3) Patchwork
2018-06-18 6:30 ` ✓ Fi.CI.BAT: success " Patchwork
2018-06-18 7:24 ` ✓ Fi.CI.IGT: " Patchwork
2018-06-18 22:43 ` [PATCH] drm/i915/psr: Adds psrwake options for all platforms Dhinakaran Pandiyan
2018-06-19 8:46 ` Jani Nikula [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-13 8:03 vathsala nagaraju
2018-06-12 5:19 vathsala nagaraju
2018-06-12 9:00 ` Jani Nikula
2018-06-13 6:30 ` Nagaraju, Vathsala
2018-06-13 6:41 ` Jani Nikula
2018-06-13 17:32 ` Dhinakaran Pandiyan
2018-06-13 17:40 ` Dhinakaran Pandiyan
2018-06-14 6:29 ` Nagaraju, Vathsala
2018-06-14 16:00 ` Pandiyan, Dhinakaran
2018-06-14 16:48 ` Rodrigo Vivi
2018-06-14 16:56 ` Nagaraju, Vathsala
2018-06-14 17:28 ` Dhinakaran Pandiyan
2018-06-15 8:10 ` Jani Nikula
2018-06-15 18:14 ` Dhinakaran Pandiyan
2018-06-14 7:38 ` Nagaraju, Vathsala
2018-06-14 7:46 ` Nagaraju, Vathsala
2018-06-13 10:42 ` Ville Syrjälä
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=87y3fbw4cv.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=ashutosh.d.shukla@intel.com \
--cc=dhinakaran.pandiyan@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=maulik.v.vaghela@intel.com \
--cc=puthik@chromium.org \
--cc=rodrigo.vivi@intel.com \
--cc=vathsala.nagaraju@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;
as well as URLs for NNTP newsgroup(s).