[AMD Public Use]
Reviewed-by: Alex Deucher
From: amd-gfx on behalf of Victor Zhao
Sent: Wednesday, April 28, 2021 12:40 AM
To: amd-gfx@lists.freedesktop.org
Cc: Zhao, Victor
Subject: [PATCH] drm/amdgpu: fix r initial values
Sriov gets suspend of IP block
Sriov gets suspend of IP block failed as return
value was not initialized.
v2: return 0 directly to align original code semantic before this
was broken out into a separate helper function instead of setting
initial values
Signed-off-by: Victor Zhao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_display
Zhao
Sent: Tuesday, April 27, 2021 5:58 AM
To: amd-gfx@lists.freedesktop.org
Cc: Zhao, Victor
Subject: [PATCH] drm/amdgpu: fix r initial values
Give initial values otherwise sriov will get suspend of
IP block failed
Signed-off-by: Victor Zhao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
Give initial values otherwise sriov will get suspend of
IP block failed
Signed-off-by: Victor Zhao
---
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
b/drivers/gpu/drm/amd/amdgpu/am