mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
drm/amd/pm: Clean up errors in smu_v13_0_7_ppt.c
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
ERROR: spaces required around that '=' (ctx:VxW)
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
26272ed708
commit
09d97d0acc
|
|
@ -392,8 +392,7 @@ static int smu_v13_0_7_check_fw_status(struct smu_context *smu)
|
|||
}
|
||||
|
||||
#ifndef atom_smc_dpm_info_table_13_0_7
|
||||
struct atom_smc_dpm_info_table_13_0_7
|
||||
{
|
||||
struct atom_smc_dpm_info_table_13_0_7 {
|
||||
struct atom_common_table_header table_header;
|
||||
BoardTable_t BoardTable;
|
||||
};
|
||||
|
|
@ -500,7 +499,7 @@ static int smu_v13_0_7_tables_init(struct smu_context *smu)
|
|||
PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM);
|
||||
SMU_TABLE_INIT(tables, SMU_TABLE_ACTIVITY_MONITOR_COEFF,
|
||||
sizeof(DpmActivityMonitorCoeffIntExternal_t), PAGE_SIZE,
|
||||
AMDGPU_GEM_DOMAIN_VRAM);
|
||||
AMDGPU_GEM_DOMAIN_VRAM);
|
||||
SMU_TABLE_INIT(tables, SMU_TABLE_COMBO_PPTABLE, MP0_MP1_DATA_REGION_SIZE_COMBOPPTABLE,
|
||||
PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM);
|
||||
|
||||
|
|
@ -734,7 +733,7 @@ static int smu_v13_0_7_get_smu_metrics_data(struct smu_context *smu,
|
|||
MetricsMember_t member,
|
||||
uint32_t *value)
|
||||
{
|
||||
struct smu_table_context *smu_table= &smu->smu_table;
|
||||
struct smu_table_context *smu_table = &smu->smu_table;
|
||||
SmuMetrics_t *metrics =
|
||||
&(((SmuMetricsExternal_t *)(smu_table->metrics_table))->SmuMetrics);
|
||||
int ret = 0;
|
||||
|
|
@ -1641,8 +1640,7 @@ static int smu_v13_0_7_force_clk_levels(struct smu_context *smu,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static const struct smu_temperature_range smu13_thermal_policy[] =
|
||||
{
|
||||
static const struct smu_temperature_range smu13_thermal_policy[] = {
|
||||
{-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
|
||||
{ 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user