mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amdgpu: Enable unique_id for Aldebaran
It's supported, so support the unique_id sysfs file Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6c92fe5fa5
commit
4ad31fa15b
1 changed files with 2 additions and 1 deletions
|
@ -2090,7 +2090,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
|
|||
} else if (DEVICE_ATTR_IS(unique_id)) {
|
||||
if (asic_type != CHIP_VEGA10 &&
|
||||
asic_type != CHIP_VEGA20 &&
|
||||
asic_type != CHIP_ARCTURUS)
|
||||
asic_type != CHIP_ARCTURUS &&
|
||||
asic_type != CHIP_ALDEBARAN)
|
||||
*states = ATTR_STATE_UNSUPPORTED;
|
||||
} else if (DEVICE_ATTR_IS(pp_features)) {
|
||||
if (adev->flags & AMD_IS_APU || asic_type < CHIP_VEGA10)
|
||||
|
|
Loading…
Add table
Reference in a new issue