All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: "Christian König"
	<deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>,
	"Tom St Denis"
	<tstdenis82-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"Alex Deucher"
	<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>
Subject: Re: [PATCH] drm/amdgpu: remove duplicate evict_vram in suspend path
Date: Mon, 10 Oct 2016 15:11:54 +0800	[thread overview]
Message-ID: <57FB3F3A.7070902@amd.com> (raw)
In-Reply-To: <9a09b439-600b-ed25-4d1c-3ee12848a6d8-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2505 bytes --]

We can make it dGpu specific if APU has no problem.

Regards,
David Zhou

On 2016年10月10日 15:09, Christian König wrote:
>> i'm a trailblazer of bad ideas at times :-) hehehehe
> Well, I know this because I had the same bad idea earlier and spend a 
> lot of time bisecting why it broke :)
>
> Christian.
>
> Am 09.10.2016 um 19:54 schrieb Tom St Denis:
>> Yup that's what I said in another part of the thread :-)
>>
>> i'm a trailblazer of bad ideas at times :-) hehehehe
>>
>> Tom
>>
>> On Sun, Oct 9, 2016 at 11:13 AM Christian König 
>> <deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org <mailto:deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>> wrote:
>>
>>     Am 05.10.2016 um 21:42 schrieb Alex Deucher:
>>     > Looks like fallout from a rebase or merge.
>>     >
>>     > Signed-off-by: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org
>>     <mailto:alexander.deucher-5C7GfCeVMHo@public.gmane.org>>
>>
>>     NAK, this is done on purpose and is for evicting the GART table using
>>     memcpy.
>>
>>     Tom wanted to remove that as well and it makes resume then fail
>>     horrible
>>     on dGPUs.
>>
>>     We should probably add a comment why this is necessary.
>>
>>     Christian.
>>
>>     > ---
>>     >   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ---
>>     >   1 file changed, 3 deletions(-)
>>     >
>>     > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>>     b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>>     > index 45259b5..c2f70be 100644
>>     > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>>     > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>>     > @@ -1956,9 +1956,6 @@ int amdgpu_device_suspend(struct
>>     drm_device *dev, bool suspend, bool fbcon)
>>     >
>>     >       r = amdgpu_suspend(adev);
>>     >
>>     > -     /* evict remaining vram memory */
>>     > -     amdgpu_bo_evict_vram(adev);
>>     > -
>>     >       pci_save_state(dev->pdev);
>>     >       if (suspend) {
>>     >               /* Shut down the device */
>>
>>
>>     _______________________________________________
>>     amd-gfx mailing list
>>     amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org <mailto:amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
>>     https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[-- Attachment #1.2: Type: text/html, Size: 5901 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2016-10-10  7:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 19:42 [PATCH] drm/amdgpu: remove duplicate evict_vram in suspend path Alex Deucher
     [not found] ` <1475696538-24754-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-06  0:10   ` Dave Airlie
     [not found]     ` <CAPM=9txmXEg-i7=gPs+6pQebxJ7nRkFDAtv32uvyiG+Cb6Wo4A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-06  1:10       ` Tom St Denis
2016-10-09 15:12   ` Christian König
     [not found]     ` <5f17b1d4-b088-4ed7-06b7-86b4c85bd4f0-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-10-09 17:54       ` Tom St Denis
     [not found]         ` <CAAzXoRKnei7U3hvUCosvpOB8z9kM6CL1Lg5GduyzfUpW9ZrxKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-10  7:09           ` Christian König
     [not found]             ` <9a09b439-600b-ed25-4d1c-3ee12848a6d8-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-10-10  7:11               ` zhoucm1 [this message]
     [not found]                 ` <57FB3F3A.7070902-5C7GfCeVMHo@public.gmane.org>
2016-10-10  7:19                   ` Christian König

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=57FB3F3A.7070902@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=deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org \
    --cc=tstdenis82-Re5JQEeQqe8AvxtiuMwx3w@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.