[PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf

Chengming Gui Jack.Gui at amd.com
Mon Dec 10 08:05:13 UTC 2018


Signed-off-by: Chengming Gui <Jack.Gui at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index a9c853a..08f443f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct amdgpu_device *adev)
 
 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev)
 {
-	if (amdgpu_sriov(adev)) {
+	if (amdgpu_sriov_vf(adev)) {
 		gfx_v8_0_init_csb(adev);
 		return 0;
 	}
-- 
2.7.4



More information about the amd-gfx mailing list