diff options
author | Kent Russell <kent.russell@amd.com> | 2020-04-27 15:28:04 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-06-02 22:47:58 +0200 |
commit | 81a16241114ba4e0b188e517e5e8522951dfeb7b (patch) | |
tree | e82be507158dae4f8c6f37447cec211e6654d08d /drivers/gpu/drm/amd/powerplay/inc | |
parent | drm/amdgpu: Add ReadSerial defines for Arcturus (diff) | |
download | linux-81a16241114ba4e0b188e517e5e8522951dfeb7b.tar.xz linux-81a16241114ba4e0b188e517e5e8522951dfeb7b.zip |
drm/amdgpu: Add unique_id and serial_number for Arcturus v3
Add support for unique_id and serial_number, as these are now
the same value, and will be for future ASICs as well.
v2: Explicitly create unique_id only for VG10/20/ARC
v3: Change set_unique_id to get_unique_id for clarity
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index 5bb1ac821aeb..13fc5773ba45 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -495,6 +495,7 @@ struct pptable_funcs { int (*update_pcie_parameters)(struct smu_context *smu, uint32_t pcie_gen_cap, uint32_t pcie_width_cap); int (*i2c_eeprom_init)(struct i2c_adapter *control); void (*i2c_eeprom_fini)(struct i2c_adapter *control); + void (*get_unique_id)(struct smu_context *smu); int (*get_dpm_clock_table)(struct smu_context *smu, struct dpm_clocks *clock_table); int (*init_microcode)(struct smu_context *smu); int (*load_microcode)(struct smu_context *smu); |