AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Monk Liu <Monk.Liu-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Monk Liu <Monk.Liu-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 3/3] drm/amdgpu:fix typo
Date: Tue, 19 Sep 2017 14:41:14 +0800	[thread overview]
Message-ID: <1505803274-8237-3-git-send-email-Monk.Liu@amd.com> (raw)
In-Reply-To: <1505803274-8237-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>

previously a patch has typo error, correct it

Change-Id: I91bcefd7148b5db1c7d957c868e13a46ca40ef74
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 4eee2ef..35cc5ee 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -256,7 +256,7 @@ static int psp_hw_start(struct psp_context *psp)
 	struct amdgpu_device *adev = psp->adev;
 	int ret;
 
-	if (amdgpu_sriov_vf(adev) && !adev->in_sriov_reset) {
+	if (!amdgpu_sriov_vf(adev) || !adev->in_sriov_reset) {
 		ret = psp_bootloader_load_sysdrv(psp);
 		if (ret)
 			return ret;
-- 
2.7.4

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

  parent reply	other threads:[~2017-09-19  6:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19  6:41 [PATCH 1/3] drm/amdgpu:make ctx_add_fence interruptible(v2) Monk Liu
     [not found] ` <1505803274-8237-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-09-19  6:41   ` [PATCH 2/3] drm/amdgpu/sriov:fix memory leak after gpu reset Monk Liu
     [not found]     ` <1505803274-8237-2-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-09-19 11:43       ` Christian König
     [not found]         ` <1c39869f-5d12-437c-5b08-dba488b9c937-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-20  6:17           ` Liu, Monk
2017-09-19  6:41   ` Monk Liu [this message]
     [not found]     ` <1505803274-8237-3-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-09-19 11:44       ` [PATCH 3/3] drm/amdgpu:fix typo Christian König
2017-09-19 14:25       ` Alex Deucher
2017-09-19 11:42   ` [PATCH 1/3] drm/amdgpu:make ctx_add_fence interruptible(v2) 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=1505803274-8237-3-git-send-email-Monk.Liu@amd.com \
    --to=monk.liu-5c7gfcevmho@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