AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/amdgpu: fix typo for vcn1 idle check
@ 2020-03-18 21:14 James Zhu
  2020-03-18 21:14 ` [PATCH 2/3] drm/amdgpu: fix typo for vcn2/jpeg2 " James Zhu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Zhu @ 2020-03-18 21:14 UTC (permalink / raw)
  To: amd-gfx; +Cc: jamesz

fix typo for vcn1 idle check

Signed-off-by: James Zhu <James.Zhu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index 71f61af..09b0572 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@ -1352,7 +1352,7 @@ static int vcn_v1_0_set_clockgating_state(void *handle,
 
 	if (enable) {
 		/* wait for STATUS to clear */
-		if (vcn_v1_0_is_idle(handle))
+		if (!vcn_v1_0_is_idle(handle))
 			return -EBUSY;
 		vcn_v1_0_enable_clock_gating(adev);
 	} else {
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-18 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-18 21:14 [PATCH 1/3] drm/amdgpu: fix typo for vcn1 idle check James Zhu
2020-03-18 21:14 ` [PATCH 2/3] drm/amdgpu: fix typo for vcn2/jpeg2 " James Zhu
2020-03-18 21:14 ` [PATCH 3/3] drm/amdgpu: fix typo for vcn2.5/jpeg2.5 " James Zhu
2020-03-18 21:21 ` [PATCH 1/3] drm/amdgpu: fix typo for vcn1 " Liu, Leo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox