From: Nirmoy <nirmodas@amd.com>
To: amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: make sure to reserve tmr region on all asics which support it
Date: Wed, 24 Jun 2020 16:23:11 +0200 [thread overview]
Message-ID: <6746fef7-e469-f46d-2c2c-24da84876f5a@amd.com> (raw)
In-Reply-To: <20200622214113.969491-1-alexander.deucher@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
On 6/22/20 11:41 PM, Alex Deucher wrote:
> This includes older APUs like renoir.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> index f1855a8323b2..7d51768684dd 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -1974,7 +1974,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
> * If IP discovery enabled, a block of memory should be
> * reserved for IP discovey.
> */
> - if (adev->asic_type >= CHIP_NAVI10 && amdgpu_discovery) {
> + if (adev->discovery_bin) {
> r = amdgpu_ttm_reserve_tmr(adev);
> if (r)
> return r;
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2020-06-24 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 21:41 [PATCH] drm/amdgpu: make sure to reserve tmr region on all asics which support it Alex Deucher
2020-06-24 14:19 ` Alex Deucher
2020-06-24 14:23 ` Zhang, Hawking
2020-06-24 14:23 ` Nirmoy [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=6746fef7-e469-f46d-2c2c-24da84876f5a@amd.com \
--to=nirmodas@amd.com \
--cc=amd-gfx@lists.freedesktop.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;
as well as URLs for NNTP newsgroup(s).