]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: optimize list operation in amdgpu_xgmi
authorKevin Wang <kevin1.wang@amd.com>
Wed, 3 Feb 2021 09:36:51 +0000 (17:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:28:49 +0000 (15:28 -0500)
commit142d11fa9f3946e7d2ef383ff3bef6432420b112
treec5d0adc9fef9f1eceea6d37a4f665a15edbf9312
parent428976f0c36d6997a2c7028df4250132fd41429c
drm/amdgpu: optimize list operation in amdgpu_xgmi

simplify the list operation.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c