From: Vandana Kannan <vandana.kannan@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH v9 3/6] drm/i915: Add support for DRRS to switch RR
Date: Fri, 11 Apr 2014 16:51:39 +0530 [thread overview]
Message-ID: <5347D043.2060309@intel.com> (raw)
In-Reply-To: <20140411092641.GD9262@phenom.ffwll.local>
On Apr-11-2014 2:56 PM, Daniel Vetter wrote:
> On Fri, Apr 11, 2014 at 02:48:53PM +0530, Vandana Kannan wrote:
>> On Apr-10-2014 2:28 PM, Daniel Vetter wrote:
>>> On Thu, Apr 10, 2014 at 11:43:15AM +0300, Jani Nikula wrote:
>>>>
>>>> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
>>>>
>>>>
>>>> On Sat, 05 Apr 2014, Vandana Kannan <vandana.kannan@intel.com> wrote:
>>>>> From: Pradeep Bhat <pradeep.bhat@intel.com>
>>>>>
>>>>> This patch computes and stored 2nd M/N/TU for switching to different
>>>>> refresh rate dynamically. PIPECONF_EDP_RR_MODE_SWITCH bit helps toggle
>>>>> between alternate refresh rates programmed in 2nd M/N/TU registers.
>>>>>
>>>>> v2: Daniel's review comments
>>>>> Computing M2/N2 in compute_config and storing it in crtc_config
>>>>>
>>>>> v3: Modified reference to edp_downclock and edp_downclock_avail based on the
>>>>> changes made to move them from dev_private to intel_panel.
>>>>>
>>>>> v4: Modified references to is_drrs_supported based on the changes made to
>>>>> rename it to drrs_support.
>>>>>
>>>>> v5: Jani's review comments
>>>>> Removed superfluous return statements. Changed support for Gen 7 and above.
>>>>> Corrected indentation. Re-structured the code which finds crtc and connector
>>>>> from encoder. Changed some logs to be less verbose.
>>>>>
>>>>> v6: Modifying i915_drrs to include only intel connector as intel_dp can be
>>>>> derived from intel connector when required.
>>>>>
>>>>> v7: As per internal review comments, acquiring mutex just before accessing
>>>>> drrs RR. As per Chris's review comments, added documentation about the use
>>>>> of locking in the function.
>>>>>
>>>>> v8: Incorporated Jani's review comments.
>>>>> Removed reference to edp_downclock.
>>>>>
>>>>> v9: Jani's review comments. Modified comment in set_drrs. Changed index to
>>>>> type edp_drrs_refresh_rate_type. Check if PSR is enabled before setting
>>>>> registers fo DRRS.
>>>>>
>>>>> Signed-off-by: Pradeep Bhat <pradeep.bhat@intel.com>
>>>>> Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
>>>>> Cc: Jani Nikula <jani.nikula@linux.intel.com>
>>>
>>> Queued for -next, thanks for the patch. One thing that's missing though is
>>> the state readout and cross-check support for this new bit of crtc->config
>>> data. We need to add that before putting this to real use.
>>> -Daniel
>>>
>> Hi Daniel,
>>
>> Could you please elaborate on your input above - on the missing code and
>> cross-checking for support part?
>
> If you add new state to crtc->config then you need to add the relevan
> readout code for that state (see the code in check_crtc_state) and ofc
> also add it to intel_pipe_config_compare.
>
> This is a debug feature of our driver to make sure we never lose track of
> things and thus far has been extremely helpful in catching issues early.
> -Daniel
>
I have submitted a patch adding this piece of code. Please have a look..
http://lists.freedesktop.org/archives/intel-gfx/2014-April/043569.html
- Vandana
next prev parent reply other threads:[~2014-04-11 11:21 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 4:44 [PATCH 0/6] v7: Enabling DRRS in the kernel Vandana Kannan
2014-03-28 4:44 ` [PATCH 1/6] drm/i915: Adding VBT fields to support eDP DRRS feature Vandana Kannan
2014-04-01 13:04 ` Jani Nikula
2014-04-01 17:26 ` Daniel Vetter
2014-03-28 4:44 ` [PATCH 2/6] drm/i915: Parse EDID probed modes for DRRS support Vandana Kannan
2014-04-01 13:17 ` Jani Nikula
2014-04-03 11:10 ` [PATCH v8 " Vandana Kannan
2014-04-03 11:46 ` Jani Nikula
2014-04-04 4:57 ` [PATCH v9 " Vandana Kannan
2014-04-04 10:47 ` [PATCH v10 " Vandana Kannan
2014-04-04 10:55 ` Jani Nikula
2014-04-04 11:13 ` Vandana Kannan
2014-04-05 6:42 ` [PATCH v11 " Vandana Kannan
2014-04-10 8:42 ` Jani Nikula
2014-04-10 8:55 ` Daniel Vetter
2014-03-28 4:44 ` [PATCH 3/6] drm/i915: Add support for DRRS to switch RR Vandana Kannan
2014-04-01 13:25 ` Jani Nikula
2014-04-02 5:58 ` Vandana Kannan
2014-04-03 11:14 ` [PATCH v9 " Vandana Kannan
2014-04-04 4:58 ` Vandana Kannan
2014-04-05 6:43 ` Vandana Kannan
2014-04-10 8:43 ` Jani Nikula
2014-04-10 8:56 ` Daniel Vetter
2014-04-10 8:58 ` Daniel Vetter
2014-04-11 9:18 ` Vandana Kannan
2014-04-11 9:26 ` Daniel Vetter
2014-04-11 11:21 ` Vandana Kannan [this message]
2014-04-21 4:28 ` Vandana Kannan
2014-03-28 4:45 ` [PATCH 4/6] drm/i915: Idleness detection for DRRS Vandana Kannan
2014-04-01 13:36 ` Jani Nikula
2014-04-03 11:17 ` [PATCH v9 " Vandana Kannan
2014-04-04 5:00 ` [PATCH v10 " Vandana Kannan
2014-04-04 6:54 ` Jani Nikula
2014-04-04 10:53 ` [PATCH v11 " Vandana Kannan
2014-04-05 6:44 ` Vandana Kannan
2014-04-10 8:52 ` Jani Nikula
2014-03-28 4:45 ` [PATCH 5/6] drm/i915/bdw: Add support for DRRS to switch RR Vandana Kannan
2014-04-01 13:37 ` Jani Nikula
2014-03-28 4:45 ` [PATCH 6/6] drm/i915: Support for RR switching on VLV Vandana Kannan
2014-04-01 13:41 ` Jani Nikula
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=5347D043.2060309@intel.com \
--to=vandana.kannan@intel.com \
--cc=daniel@ffwll.ch \
--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