From: Vandana Kannan <vandana.kannan@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature
Date: Wed, 18 Dec 2013 15:43:34 +0530 [thread overview]
Message-ID: <52B1754E.8070000@intel.com> (raw)
In-Reply-To: <20131218091104.GA22448@nuc-i3427.alporthouse.com>
On Dec-18-2013 2:41 PM, Chris Wilson wrote:
> On Wed, Dec 18, 2013 at 01:38:44PM +0530, Vandana Kannan wrote:
>> On Dec-17-2013 5:56 PM, Chris Wilson wrote:
>>> On Tue, Dec 17, 2013 at 10:58:23AM +0530, Vandana Kannan wrote:
>>>> From: Pradeep Bhat <pradeep.bhat@intel.com>
>>>>
>>>> This patch reads the DRRS support and Mode type from VBT fields.
>>>> The read information will be stored in VBT struct during BIOS
>>>> parsing. The above functionality is needed for decision making
>>>> whether DRRS feature is supported in i915 driver for eDP panels.
>>>> This information helps us decide if seamless DRRS can be done
>>>> at runtime to support certain power saving features. This patch
>>>> was tested by setting necessary bit in VBT struct and merging
>>>> the new VBT with system BIOS so that we can read the value.
>>>
>>> What's the reason for the inconsistent intel_ tautology?
>>>
>> If you are referring to the names of members under bdb_driver_features,
>> which start with intel_, then this is something which can be modified to
>> remove the "intel_". Is it ok?
>
> Yes, we use intel_ as a function prefix for generic routines that apply
> to almost all display engines. We expect that all of our hardware specific
> structure are used for Intel and so don't need reminding, least
> of all, inconsistently.
>
> And s/drrs_state/drrs/.
>
I will make these changes.
- Vandana
>>>> @@ -488,6 +508,9 @@ parse_driver_features(struct drm_i915_private *dev_priv,
>>>>
>>>> if (driver->dual_frequency)
>>>> dev_priv->render_reclock_avail = true;
>>>> +
>>>> + dev_priv->vbt.intel_drrs_enabled = driver->intel_drrs_state;
>>>> + DRM_DEBUG_KMS("DRRS State Enabled : %d\n", driver->intel_drrs_state);
>>>
>>> Now this oddity needs a big explanation. Writing that will hopefully
>>> reveal a better strategy.
>>> -Chris
>>>
>> Panel vendors specify panel capabilities via the VBT. Following this,
>> the panel's capability to support seamless DRRS has to be read from the
>> VBT. The same is being done in the piece of code above. Without this we
>> cannot assume that the panel supports seamless DRRS.
>
> Nevermind, I misread driver-> as dev_priv->.
> -Chris
>
next prev parent reply other threads:[~2013-12-18 10:14 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 5:28 [PATCH 0/5] Enabling DRRS support in the kernel Vandana Kannan
2013-12-17 5:28 ` [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2013-12-17 12:26 ` Chris Wilson
2013-12-18 8:08 ` Vandana Kannan
2013-12-18 9:11 ` Chris Wilson
2013-12-18 10:13 ` Vandana Kannan [this message]
2013-12-17 5:28 ` [PATCH 2/5] drm/i915: Parse EDID probed modes for DRRS support Vandana Kannan
2013-12-17 12:28 ` Chris Wilson
2013-12-18 8:11 ` Vandana Kannan
2013-12-18 9:06 ` Chris Wilson
2013-12-18 10:12 ` Vandana Kannan
2013-12-19 11:51 ` Jani Nikula
2013-12-20 5:21 ` Vandana Kannan
2013-12-17 5:28 ` [PATCH 3/5] drm/i915: Add support for DRRS to switch RR Vandana Kannan
2013-12-17 5:28 ` [PATCH 4/5] drm/i915: Idleness detection for DRRS Vandana Kannan
2013-12-17 12:29 ` Chris Wilson
2013-12-18 8:18 ` Vandana Kannan
2013-12-18 9:04 ` Chris Wilson
2013-12-18 10:09 ` Vandana Kannan
2013-12-17 5:28 ` [PATCH 5/5] drm/i915/bdw: Add support for DRRS to switch RR Vandana Kannan
2013-12-17 12:30 ` Chris Wilson
2013-12-18 8:24 ` Vandana Kannan
2013-12-18 9:01 ` Chris Wilson
2013-12-18 10:06 ` Vandana Kannan
2013-12-18 9:24 ` [PATCH 0/5] Enabling DRRS support in the kernel Daniel Vetter
2013-12-18 10:15 ` Vandana Kannan
-- strict thread matches above, loose matches on Subject: below --
2013-12-19 8:30 [PATCH 0/5] Enabling DRRS " Vandana Kannan
2013-12-19 8:30 ` [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2013-12-20 10:10 [PATCH 0/5] Enabling DRRS in the kernel Vandana Kannan
2013-12-20 10:10 ` [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2013-12-23 7:52 [PATCH 0/5] Enabling DRRS in the kernel Vandana Kannan
2013-12-23 7:52 ` [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2014-01-22 13:09 ` Jani Nikula
2014-01-30 3:29 ` Vandana Kannan
2014-01-30 6:20 ` Jani Nikula
2014-02-03 3:43 ` Vandana Kannan
2014-02-04 10:34 ` Daniel Vetter
2014-02-14 10:02 [PATCH 0/5] v5: Enabling DRRS in the kernel Vandana Kannan
2014-02-14 10:02 ` [PATCH 1/5] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2014-02-14 16:39 ` Jesse Barnes
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=52B1754E.8070000@intel.com \
--to=vandana.kannan@intel.com \
--cc=chris@chris-wilson.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox