[PATCH 10/10] drm/amdgpu:show error message if fail on event4
Christian König
ckoenig.leichtzumerken at gmail.com
Tue Nov 14 11:58:02 UTC 2017
Am 14.11.2017 um 10:07 schrieb Monk Liu:
> Change-Id: I984697748672421a05f179a7bf4eeb0255b28bdc
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index ccb33ef..35a1593 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -1914,7 +1914,8 @@ static int amdgpu_fini(struct amdgpu_device *adev)
> }
>
> if (amdgpu_sriov_vf(adev))
> - amdgpu_virt_release_full_gpu(adev, false);
> + if (amdgpu_virt_release_full_gpu(adev, false))
> + DRM_ERROR("failed to release exclusive mode on fini\n");
>
> return 0;
> }
More information about the amd-gfx
mailing list