diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c index 039245c98ff8..183743c5fb7b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -628,8 +628,7 @@ int amdgpu_ucode_init_bo(struct amdgpu_device *adev)  	struct amdgpu_firmware_info *ucode = NULL;   /* for baremetal, the ucode is allocated in gtt, so don't need to fill the bo when reset/suspend */ -	if (!amdgpu_sriov_vf(adev) && -		(amdgpu_in_reset(adev) || adev->in_suspend)) +	if (!amdgpu_sriov_vf(adev) && (adev->in_gpu_reset || adev->in_suspend))  		return 0;  	/*  	 * if SMU loaded firmware, it needn't add SMC, UVD, and VCE | 
