From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: Alex Deucher
<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
amd-gfx list
<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>,
"for 3.8" <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
Date: Tue, 20 Jun 2017 10:38:39 +0800 [thread overview]
Message-ID: <59488AAF.5070703@amd.com> (raw)
In-Reply-To: <CADnq5_NQvtnLjGuwDPK2yOVUWcG=twAzXmGbyiXg+vODGymeNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
On 2017年06月20日 00:58, Alex Deucher wrote:
> Ping?
>
> On Thu, Jun 15, 2017 at 11:17 AM, Alex Deucher <alexdeucher@gmail.com> wrote:
>> We were using the wrong structure which lead to an overflow
>> on some boards.
>>
>> bug: https://bugs.freedesktop.org/show_bug.cgi?id=101387
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>> Cc: stable@vger.kernel.org
>> ---
>> drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c
>> index 8c9bc75..8a0818b 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c
>> @@ -165,7 +165,7 @@ void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state)
>> struct drm_device *dev = crtc->dev;
>> struct amdgpu_device *adev = dev->dev_private;
>> int index = GetIndexIntoMasterTable(COMMAND, EnableDispPowerGating);
>> - ENABLE_DISP_POWER_GATING_PARAMETERS_V2_1 args;
>> + ENABLE_DISP_POWER_GATING_PS_ALLOCATION args;
>>
>> memset(&args, 0, sizeof(args));
>>
>> @@ -178,7 +178,7 @@ void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state)
>> void amdgpu_atombios_crtc_powergate_init(struct amdgpu_device *adev)
>> {
>> int index = GetIndexIntoMasterTable(COMMAND, EnableDispPowerGating);
>> - ENABLE_DISP_POWER_GATING_PARAMETERS_V2_1 args;
>> + ENABLE_DISP_POWER_GATING_PS_ALLOCATION args;
>>
>> memset(&args, 0, sizeof(args));
>>
>> --
>> 2.5.5
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2017-06-20 2:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 15:17 [PATCH] drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating Alex Deucher
[not found] ` <1497539827-26354-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-06-15 15:17 ` [PATCH] drm/amdgpu: adjust default display clock Alex Deucher
2017-06-15 15:17 ` Alex Deucher
2017-06-19 17:36 ` Alex Deucher
[not found] ` <CADnq5_PP=wMVi5JayAcF-0HGKAeZbhS+pyhV1OW5LeW1dVqHsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-20 2:40 ` zhoucm1
[not found] ` <59488B03.1070409-5C7GfCeVMHo@public.gmane.org>
2017-06-20 8:37 ` Christian König
2017-06-20 8:37 ` Christian König
2017-06-19 16:58 ` [PATCH] drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating Alex Deucher
[not found] ` <CADnq5_NQvtnLjGuwDPK2yOVUWcG=twAzXmGbyiXg+vODGymeNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-20 2:38 ` zhoucm1 [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=59488AAF.5070703@amd.com \
--to=david1.zhou-5c7gfcevmho@public.gmane.org \
--cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
--cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.