• Jean Delvare's avatar
    drm/amdgpu/si: fix ASIC tests · 77efe48a
    Jean Delvare authored
    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: default avatarJean Delvare <jdelvare@suse.de>
    Fixes: 62a37553 ("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: default avatarAlex Deucher <alexander.deucher@amd.com>
    77efe48a
si.c 67.9 KB