aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2019-08-28 15:05:57 +0000
committerAlex Deucher <[email protected]>2019-08-29 20:52:32 +0000
commit77efe48a729588527afb4d5811b9e0acb29f5e51 (patch)
tree04a25339eb0dcd8ce3de7e4e815fd59b8b9910b3 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parentdrm/amd/amdgpu: hide voltage and power sensors on SI and KV parts (diff)
downloadkernel-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