summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2019-08-28 17:05:57 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-08-29 15:52:32 -0500
commit77efe48a729588527afb4d5811b9e0acb29f5e51 (patch)
tree04a25339eb0dcd8ce3de7e4e815fd59b8b9910b3 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parent1cdd229bec36212261f69702464913b5c2581d4d (diff)
downloadlinux-77efe48a729588527afb4d5811b9e0acb29f5e51.tar.bz2
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 <jdelvare@suse.de> Fixes: 62a37553414a ("drm/amdgpu: add si implementation v10") Cc: Ken Wang <Qingqing.Wang@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.c')
0 files changed, 0 insertions, 0 deletions