public inbox for amd-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Zhang, Jerry (Junwei)" <Jerry.Zhang-5C7GfCeVMHo@public.gmane.org>
To: 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 2/4] drm/amdgpu/gmc9: don't keep stolen memory on Raven
Date: Fri, 31 Aug 2018 10:03:43 +0800	[thread overview]
Message-ID: <5B88A1FF.6060904@amd.com> (raw)
In-Reply-To: <20180830145339.5162-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

On 08/30/2018 10:53 PM, Alex Deucher wrote:
> Raven does not appear to be affected by the same issue
> as vega10.  Enable the full stolen memory handling on
> Raven.  Reserve the appropriate size at init time to avoid
> display artifacts and then free it at the end of init once
> the new FB is up and running.
>
> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106639
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 46cff7d8b375..938d03593713 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -706,6 +706,7 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
>   	 */
>   	switch (adev->asic_type) {
>   	case CHIP_RAVEN:
> +		return false;
>   	case CHIP_VEGA10:
>   	case CHIP_VEGA12:
>   	case CHIP_VEGA20:
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-08-31  2:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30 14:53 [PATCH 1/4] drm/amdgpu/gmc9: rework stolen vga memory handling Alex Deucher
     [not found] ` <20180830145339.5162-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-08-30 14:53   ` [PATCH 2/4] drm/amdgpu/gmc9: don't keep stolen memory on Raven Alex Deucher
     [not found]     ` <20180830145339.5162-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-08-31  2:03       ` Zhang, Jerry (Junwei) [this message]
2018-08-30 14:53   ` [PATCH 3/4] drm/amdgpu/gmc9: don't keep stolen memory on vega12 Alex Deucher
2018-08-30 14:53   ` [PATCH 4/4] drm/amdgpu/gmc9: don't keep stolen memory on vega20 Alex Deucher
2018-08-31  2:03   ` [PATCH 1/4] drm/amdgpu/gmc9: rework stolen vga memory handling Zhang, Jerry (Junwei)
2018-08-31  8:20   ` Christian König
     [not found]     ` <9e88efe2-029e-1b98-2362-8ff5cc400ad1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-09-02 14:56       ` Alex Deucher

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=5B88A1FF.6060904@amd.com \
    --to=jerry.zhang-5c7gfcevmho@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox