[PATCH] drm/amdgpu/si: fix ASIC tests

2019-08-29 Thread Jean Delvare
Comparing adev->family with CHIP constants is not correct. adev->family can only be compared with AMDGPU_FAMILY constants and adev->asic_type is the struct member to compare with CHIP constants. They are separate identification spaces. Signed-off-by: Jean Delvare Fixes: 62a37553414a ("drm/amdgpu:

Re: [PATCH] drm/amdgpu/si: fix ASIC tests

2019-08-28 Thread Alex Deucher
On Wed, Aug 28, 2019 at 11:28 AM Jean Delvare wrote: > > Comparing adev->family with CHIP constants is not correct. > adev->family can only be compared with AMDGPU_FAMILY constants and > adev->asic_type is the struct member to compare with CHIP constants. > They are separate identification spaces.