mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
drm/amdgpu: convert sienna_cichlid_get_default_config_table_settings() to IP version
Use IP version rather than asic type. Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b8b64595d6
commit
ab9d97d6f9
|
|
@ -4192,7 +4192,7 @@ static int sienna_cichlid_get_default_config_table_settings(struct smu_context *
|
|||
table->gfx_activity_average_tau = 10;
|
||||
table->mem_activity_average_tau = 10;
|
||||
table->socket_power_average_tau = 100;
|
||||
if (adev->asic_type != CHIP_SIENNA_CICHLID)
|
||||
if (adev->ip_versions[MP1_HWIP][0] != IP_VERSION(11, 0, 7))
|
||||
table->apu_socket_power_average_tau = 100;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user