Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: "Ganesan, Aravind" <aravindg@codeaurora.org>
To: Rob Clark <robdclark@gmail.com>
Cc: linux-arm-msm <linux-arm-msm@vger.kernel.org>,
	freedreno@lists.freedesktop.org,
	Rishi Bhattacharya <rishib@quicinc.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 3/3] drm/msm: a4xx support for msm-drm
Date: Fri, 07 Nov 2014 17:32:32 -0700	[thread overview]
Message-ID: <545D64A0.2020700@codeaurora.org> (raw)
In-Reply-To: <CAF6AEGvCyJO2+G-vDS8y+yQx-wpt_AYd-_jHg-bPak0xCFzc7Q@mail.gmail.com>



On 11/6/2014 2:13 PM, Rob Clark wrote:
> On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind
> <aravindg@codeaurora.org> wrote:
>> Added a4xx GPU support.
>>
>> Signed-off-by: Aravind Ganesan <aravindg@codeaurora.org>
>> ---
>> Resend the patch-set with the same thread-id
>> Resend in patch-set format and with dri-devel@lists.freedesktop.org on
>> the CC.
>>  drivers/gpu/drm/msm/Makefile               |   1 +
>>  drivers/gpu/drm/msm/adreno/a4xx_gpu.c      | 620
>> +++++++++++++++++++++++++++++
>>  drivers/gpu/drm/msm/adreno/a4xx_gpu.h      |  34 ++
>>  drivers/gpu/drm/msm/adreno/adreno_device.c |  13 +
>>  drivers/gpu/drm/msm/adreno/adreno_gpu.c    |   2 +-
>>  drivers/gpu/drm/msm/adreno/adreno_gpu.h    |  14 +-
>>  6 files changed, 681 insertions(+), 3 deletions(-)
>>  create mode 100644 drivers/gpu/drm/msm/adreno/a4xx_gpu.c
>>  create mode 100644 drivers/gpu/drm/msm/adreno/a4xx_gpu.h
>>
>> diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile
>> index 20b7eda..21020f9 100644
>> --- a/drivers/gpu/drm/msm/Makefile
>> +++ b/drivers/gpu/drm/msm/Makefile
>> @@ -7,6 +7,7 @@ msm-y := \
>>         adreno/adreno_device.o \
>>         adreno/adreno_gpu.o \
>>         adreno/a3xx_gpu.o \
>> +       adreno/a4xx_gpu.o \
>>         hdmi/hdmi.o \
>>         hdmi/hdmi_audio.o \
>>         hdmi/hdmi_bridge.o \
>> diff --git a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
>> b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
>> new file mode 100644
>> index 0000000..50cbaf4
>> --- /dev/null
>> +++ b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
> [snip]
>> +#ifdef CONFIG_DEBUG_FS
>> +static void a4xx_show(struct msm_gpu *gpu, struct seq_file *m)
>> +{
>> +       struct drm_device *dev = gpu->dev;
>> +
>> +       mutex_lock(&dev->struct_mutex);
> 
> so, probably something that was missed in the rebase, but struct_mutex
> is acquired/dropped in show_locked() (in msm_drv.c) now.. so you need
> to drop the mutex_lock/_unlock() here.
> 
> BR,
> -R
>
Agreed.

>> +       gpu->funcs->pm_resume(gpu);
>> +
>> +       seq_printf(m, "status:   %08x\n",
>> +                       gpu_read(gpu, REG_A4XX_RBBM_STATUS));
>> +       gpu->funcs->pm_suspend(gpu);
>> +
>> +       adreno_show(gpu, m);
>> +
>> +       mutex_unlock(&dev->struct_mutex);
>> +}
>> +#endif
>> +
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2014-11-08  0:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31  2:33 [PATCH 0/3] drm/msm: Adreno 4xx support Ganesan, Aravind
2014-10-31 15:07 ` Ganesan, Aravind
2014-11-06 21:07   ` Rob Clark
2014-11-14 13:48   ` [PATCH v2 " Ganesan, Aravind
2014-11-14 13:48   ` [PATCH v2 1/3] drm/msm: Additional definitions for a3xx and a4xx Ganesan, Aravind
2014-11-14 13:48   ` [PATCH v2 2/3] drm/msm: Handle register offset differences between a3xx, " Ganesan, Aravind
2014-11-14 13:48   ` [PATCH v2 3/3] drm/msm: a4xx support for msm-drm Ganesan, Aravind
2014-10-31 15:08 ` [PATCH 1/3] drm/msm: Additional definitions for a3xx and a4xx Ganesan, Aravind
2014-10-31 15:08 ` [PATCH 2/3] drm/msm: Handle register offset differences between a3xx, " Ganesan, Aravind
2014-11-06 21:11   ` Rob Clark
2014-11-08  0:32     ` Ganesan, Aravind
2014-10-31 15:08 ` [PATCH 3/3] drm/msm: a4xx support for msm-drm Ganesan, Aravind
2014-11-06 21:13   ` Rob Clark
2014-11-08  0:32     ` Ganesan, Aravind [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-31  2:33 Ganesan, Aravind

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=545D64A0.2020700@codeaurora.org \
    --to=aravindg@codeaurora.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=rishib@quicinc.com \
    --cc=robdclark@gmail.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