OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec9de2
)
drm/amdgpu: fix typo for vcn1 idle check
author
James Zhu
<James.Zhu@amd.com>
Wed, 18 Mar 2020 21:09:05 +0000
(17:09 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 18 Mar 2020 22:21:18 +0000
(18:21 -0400)
fix typo for vcn1 idle check
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
patch
|
blob
|
history
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
(file)
--- 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 {