diff options
| author | Jean Delvare <[email protected]> | 2019-08-28 15:05:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-29 20:52:32 +0000 |
| commit | 77efe48a729588527afb4d5811b9e0acb29f5e51 (patch) | |
| tree | 04a25339eb0dcd8ce3de7e4e815fd59b8b9910b3 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c | |
| parent | drm/amd/amdgpu: hide voltage and power sensors on SI and KV parts (diff) | |
| download | kernel-77efe48a729588527afb4d5811b9e0acb29f5e51.tar.gz kernel-77efe48a729588527afb4d5811b9e0acb29f5e51.zip | |
drm/amdgpu/si: fix ASIC tests
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 <[email protected]>
Fixes: 62a37553414a ("drm/amdgpu: add si implementation v10")
Cc: Ken Wang <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "David (ChunMing) Zhou" <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.c')
0 files changed, 0 insertions, 0 deletions
