From: Archit Taneja <architt@codeaurora.org>
To: Sean Paul <seanpaul@chromium.org>,
Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Yakir Yang <ykk@rock-chips.com>, David Airlie <airlied@linux.ie>,
dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 1/2] drm/bridge: analogix_dp: Add analogix_dp_psr_supported
Date: Mon, 3 Oct 2016 16:43:09 +0530 [thread overview]
Message-ID: <31a91d33-302a-482a-cec8-bceed97e24cc@codeaurora.org> (raw)
In-Reply-To: <CAOw6vbJ9-F0i9AHyRUjTux3oSSMQ07RhLhLi_JrEzdAOZCS_Zg@mail.gmail.com>
On 09/27/2016 06:58 PM, Sean Paul wrote:
> On Fri, Sep 23, 2016 at 10:06 AM, Tomeu Vizoso
> <tomeu.vizoso@collabora.com> wrote:
>> So users know whether PSR should be enabled or not.
>>
>> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
>> Cc: Sean Paul <seanpaul@chromium.org>
>> Cc: Yakir Yang <ykk@rock-chips.com>
>> Cc: Archit Taneja <architt@codeaurora.org>
>
> Reviewed-by: Sean Paul <seanpaul@chromium.org>
queued to drm-misc.
Archit
>
>> ---
>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 8 ++++++++
>> include/drm/bridge/analogix_dp.h | 1 +
>> 2 files changed, 9 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
>> index bf992460a6c7..91d8540ac8f0 100644
>> --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
>> +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
>> @@ -98,6 +98,14 @@ static int analogix_dp_detect_hpd(struct analogix_dp_device *dp)
>> return 0;
>> }
>>
>> +int analogix_dp_psr_supported(struct device *dev)
>> +{
>> + struct analogix_dp_device *dp = dev_get_drvdata(dev);
>> +
>> + return dp->psr_support;
>> +}
>> +EXPORT_SYMBOL_GPL(analogix_dp_psr_supported);
>> +
>> int analogix_dp_enable_psr(struct device *dev)
>> {
>> struct analogix_dp_device *dp = dev_get_drvdata(dev);
>> diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
>> index 5f498ca07eea..c99d6eaef1ac 100644
>> --- a/include/drm/bridge/analogix_dp.h
>> +++ b/include/drm/bridge/analogix_dp.h
>> @@ -38,6 +38,7 @@ struct analogix_dp_plat_data {
>> struct drm_connector *);
>> };
>>
>> +int analogix_dp_psr_supported(struct device *dev);
>> int analogix_dp_enable_psr(struct device *dev);
>> int analogix_dp_disable_psr(struct device *dev);
>>
>> --
>> 2.7.4
>>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
prev parent reply other threads:[~2016-10-03 11:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 14:06 Tomeu Vizoso
2016-09-23 14:06 ` [PATCH 2/2] drm/rockchip: analogix_dp: Refuse to enable PSR if panel doesn't support it Tomeu Vizoso
2016-09-27 13:28 ` Sean Paul
2016-10-03 11:13 ` Archit Taneja
2016-09-27 13:28 ` [PATCH 1/2] drm/bridge: analogix_dp: Add analogix_dp_psr_supported Sean Paul
2016-10-03 11:13 ` Archit Taneja [this message]
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=31a91d33-302a-482a-cec8-bceed97e24cc@codeaurora.org \
--to=architt@codeaurora.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seanpaul@chromium.org \
--cc=tomeu.vizoso@collabora.com \
--cc=ykk@rock-chips.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
Powered by JetHome