From: Huang Rui <ray.huang-5C7GfCeVMHo@public.gmane.org>
To: Trigger Huang <trigger.huang-5C7GfCeVMHo@public.gmane.org>
Cc: "amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH] drm/amdgpu: Fix firmware UCODE_ID_STORAGE issue
Date: Mon, 10 Apr 2017 14:52:12 +0800 [thread overview]
Message-ID: <20170410065211.GA14589@hr-amur2> (raw)
In-Reply-To: <1491806749-15101-1-git-send-email-trigger.huang-5C7GfCeVMHo@public.gmane.org>
On Mon, Apr 10, 2017 at 02:45:49PM +0800, Trigger Huang wrote:
> In Tonga's virtualization environment, for firmware UCODE_ID_STORAGE,
> there is no actual firmware data, but we still need alloc a BO and
> tell the BO's mc address to HW, or world switch will hang on VFs.
>
> Signed-off-by: Trigger Huang <trigger.huang@amd.com>
> ---
Acked-by: Huang Rui <ray.huang@amd.com>
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/
> amdgpu/amdgpu_ucode.c
> index a1891c9..b7307b0 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> @@ -383,7 +383,7 @@ int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
> * ucode info here
> */
> if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP)
> - adev->firmware.max_ucodes = AMDGPU_UCODE_ID_MAXIMUM - 4;
> + adev->firmware.max_ucodes = AMDGPU_UCODE_ID_MAXIMUM - 3;
> else
> adev->firmware.max_ucodes = AMDGPU_UCODE_ID_MAXIMUM;
>
> --
> 2.7.4
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-04-10 6:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-10 6:45 [PATCH] drm/amdgpu: Fix firmware UCODE_ID_STORAGE issue Trigger Huang
[not found] ` <1491806749-15101-1-git-send-email-trigger.huang-5C7GfCeVMHo@public.gmane.org>
2017-04-10 6:52 ` Huang Rui [this message]
2017-04-11 5:44 ` 答复: " Liu, Monk
2017-04-11 5:36 ` Yu, Xiangliang
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=20170410065211.GA14589@hr-amur2 \
--to=ray.huang-5c7gfcevmho@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=trigger.huang-5C7GfCeVMHo@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.