Commit 4ad31fa1 authored by Kent Russell's avatar Kent Russell Committed by Alex Deucher

drm/amdgpu: Enable unique_id for Aldebaran

It's supported, so support the unique_id sysfs file
Signed-off-by: default avatarKent Russell <kent.russell@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6c92fe5f
...@@ -2090,7 +2090,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_ ...@@ -2090,7 +2090,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
} else if (DEVICE_ATTR_IS(unique_id)) { } else if (DEVICE_ATTR_IS(unique_id)) {
if (asic_type != CHIP_VEGA10 && if (asic_type != CHIP_VEGA10 &&
asic_type != CHIP_VEGA20 && asic_type != CHIP_VEGA20 &&
asic_type != CHIP_ARCTURUS) asic_type != CHIP_ARCTURUS &&
asic_type != CHIP_ALDEBARAN)
*states = ATTR_STATE_UNSUPPORTED; *states = ATTR_STATE_UNSUPPORTED;
} else if (DEVICE_ATTR_IS(pp_features)) { } else if (DEVICE_ATTR_IS(pp_features)) {
if (adev->flags & AMD_IS_APU || asic_type < CHIP_VEGA10) if (adev->flags & AMD_IS_APU || asic_type < CHIP_VEGA10)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment