[PATCH 6/6] drm/amdgpu:don't check soft_reset for sriov

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 18.10.2017 um 10:48 schrieb Monk Liu:
> Change-Id: Iafe294aea66ae0c140af062ec78321c22a74e615
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>

#1 and #4 in this series have my rb.

Can't say much about the rest, but feel free to add my Acked-by to them.

Regards,
Christian.

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index fec60bc9..ee3846c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -2699,6 +2699,9 @@ static bool amdgpu_check_soft_reset(struct amdgpu_device *adev)
>   	int i;
>   	bool asic_hang = false;
>   
> +	if (amdgpu_sriov_vf(adev))
> +		return true;
> +
>   	for (i = 0; i < adev->num_ip_blocks; i++) {
>   		if (!adev->ip_blocks[i].status.valid)
>   			continue;




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux