Home
last modified time | relevance | path

Searched refs:smu_tables (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dvega10_smumgr.c43 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_from_smc()
45 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_from_smc()
49 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in vega10_copy_table_from_smc()
52 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in vega10_copy_table_from_smc()
55 priv->smu_tables.entry[table_id].table_id); in vega10_copy_table_from_smc()
57 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
58 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
70 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
72 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
75 memcpy(priv->smu_tables.entry[table_id].table, table, in vega10_copy_table_to_smc()
[all …]
Dvega12_smumgr.c48 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_from_smc()
50 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_from_smc()
54 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0, in vega12_copy_table_from_smc()
58 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0, in vega12_copy_table_from_smc()
67 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
68 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
86 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
88 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
91 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc()
92 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc()
[all …]
Dsmu10_smumgr.c123 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_from_smc()
125 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_from_smc()
129 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in smu10_copy_table_from_smc()
132 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in smu10_copy_table_from_smc()
135 priv->smu_tables.entry[table_id].table_id); in smu10_copy_table_from_smc()
137 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc()
138 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc()
151 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_to_smc()
153 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_to_smc()
156 memcpy(priv->smu_tables.entry[table_id].table, table, in smu10_copy_table_to_smc()
[all …]
Dsmu10_smumgr.h46 struct smu_table_array smu_tables; member
Dvega10_smumgr.h42 struct smu_table_array smu_tables; member
Dvega12_smumgr.h43 struct smu_table_array smu_tables; member