diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cik.c | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c index fe306d0f73f7..c2c67ab68a43 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -1326,6 +1326,14 @@ cik_asic_reset_method(struct amdgpu_device *adev)  {  	bool baco_reset; +	if (amdgpu_reset_method == AMD_RESET_METHOD_LEGACY || +	    amdgpu_reset_method == AMD_RESET_METHOD_BACO) +		return amdgpu_reset_method; + +	if (amdgpu_reset_method != -1) +		dev_warn(adev->dev, "Specified reset:%d isn't supported, using AUTO instead.\n", +				  amdgpu_reset_method); +  	switch (adev->asic_type) {  	case CHIP_BONAIRE:  	case CHIP_HAWAII: | 
