From: pding <Pixel.Ding@xxxxxxx> Reported-by: Sun Gary <Gary.Sun at amd.com> Signed-off-by: pding <Pixel.Ding at amd.com> --- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c index 818ec0f..f291fb2 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c @@ -450,7 +450,7 @@ static int xgpu_vi_send_access_requests(struct amdgpu_device *adev, pr_err("Doesn't get ack from pf, continue\n"); } - return 0; + return r; } static int xgpu_vi_request_reset(struct amdgpu_device *adev) -- 2.9.5