]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Add helpers to set/get unique ids
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 4 Aug 2025 07:43:06 +0000 (13:13 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:22:08 +0000 (14:22 -0400)
commit589ea8a1fd6cc4d194f5472f358dbdcee954a2dc
tree442441175b96bd2cfe7efb99854346b8cca8a8e9
parent892bac995bab7379aeca607a5dd592ecc7d98021
drm/amdgpu: Add helpers to set/get unique ids

Add a struct to store unique id information for each type. Add helper
to fetch the unique id.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c