drm/amdgpu: fix typo for vcn1 idle check
Subsystems (2)
PATCH 1/3 drm/amdgpu: fix typo for vcn1 idle check
fix typo for vcn1 idle check
Signed-off-by James Zhu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1 -1
@@ -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 {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/3 drm/amdgpu: fix typo for vcn2/jpeg2 idle check
fix typo for vcn2/jpeg2 idle check
Signed-off-by James Zhu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c +1 -1
@@ -693,7 +693,7 @@ static int jpeg_v2_0_set_clockgating_state(void *handle,bool enable = (state ==AMD_CG_STATE_GATE );if (enable) { -if (jpeg_v2_0_is_idle (handle)) +if (!jpeg_v2_0_is_idle (handle))return -EBUSY ;jpeg_v2_0_enable_clock_gating (adev); }else {
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c +1 -1
@@ -1251,7 +1251,7 @@ static int vcn_v2_0_set_clockgating_state(void *handle,if (enable) {/* wait for STATUS to clear */ -if (vcn_v2_0_is_idle (handle)) +if (!vcn_v2_0_is_idle (handle))return -EBUSY ;vcn_v2_0_enable_clock_gating (adev); }else {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 3/3 drm/amdgpu: fix typo for vcn2.5/jpeg2.5 idle check
In reply to James Zhufix typo for vcn2.5/jpeg2.5 idle check
Signed-off-by James Zhu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c +1 -1
@@ -477,7 +477,7 @@ static int jpeg_v2_5_set_clockgating_state(void *handle,continue ;if (enable) { -if (jpeg_v2_5_is_idle (handle)) +if (!jpeg_v2_5_is_idle (handle))return -EBUSY ;jpeg_v2_5_enable_clock_gating (adev, i); }else {
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +1 -1
@@ -1673,7 +1673,7 @@ static int vcn_v2_5_set_clockgating_state(void *handle,return 0 ;if (enable) { -if (vcn_v2_5_is_idle (handle)) +if (!vcn_v2_5_is_idle (handle))return -EBUSY ;vcn_v2_5_enable_clock_gating (adev); }else {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Series are:
Reviewed-by Leo Liu <[email protected]>
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of James Zhu
Sent: March 18, 2020 5:15 PM
To: [email protected]
Cc: Zhu, James <[email protected]>
Subject: [PATCH 1/3] drm/amdgpu: fix typo for vcn1 idle check
fix typo for vcn1 idle check
Signed-off-by James Zhu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1 -1
@@ -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 {
Signature · 10 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7Cleo.liu%40amd.com%7Cb4671aafc2c84b32912108d7cb816c13%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637201629681247323&sdata=mFHBsrSzQN0dQA8DXBGDEpUTsMh%2BvR7Ncz76RsREPX0%3D&reserved=0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx