Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: add new smuio callbacks for aldebaran

is_host_gpu_xgmi_supported is used to query gpu and
cpu/host link type. get_die_id is used to query die
ids.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Hawking Zhang and committed by
Alex Deucher
26f70889 9fbd96a1

+2
+2
drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
··· 28 28 u32 (*get_rom_data_offset)(struct amdgpu_device *adev); 29 29 void (*update_rom_clock_gating)(struct amdgpu_device *adev, bool enable); 30 30 void (*get_clock_gating_state)(struct amdgpu_device *adev, u32 *flags); 31 + u32 (*get_die_id)(struct amdgpu_device *adev); 32 + bool (*is_host_gpu_xgmi_supported)(struct amdgpu_device *adev); 31 33 }; 32 34 33 35 struct amdgpu_smuio {