Commit 8223ef48 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amd/pm: Clean up errors in vega20_hwmgr.h

Fix the following errors reported by checkpatch:

ERROR: open brace '{' following enum go on the same line
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 05dfc1be
...@@ -385,8 +385,7 @@ struct vega20_odn_data { ...@@ -385,8 +385,7 @@ struct vega20_odn_data {
struct vega20_odn_temp_table odn_temp_table; struct vega20_odn_temp_table odn_temp_table;
}; };
enum OD8_FEATURE_ID enum OD8_FEATURE_ID {
{
OD8_GFXCLK_LIMITS = 1 << 0, OD8_GFXCLK_LIMITS = 1 << 0,
OD8_GFXCLK_CURVE = 1 << 1, OD8_GFXCLK_CURVE = 1 << 1,
OD8_UCLK_MAX = 1 << 2, OD8_UCLK_MAX = 1 << 2,
...@@ -399,8 +398,7 @@ enum OD8_FEATURE_ID ...@@ -399,8 +398,7 @@ enum OD8_FEATURE_ID
OD8_FAN_ZERO_RPM_CONTROL = 1 << 9 OD8_FAN_ZERO_RPM_CONTROL = 1 << 9
}; };
enum OD8_SETTING_ID enum OD8_SETTING_ID {
{
OD8_SETTING_GFXCLK_FMIN = 0, OD8_SETTING_GFXCLK_FMIN = 0,
OD8_SETTING_GFXCLK_FMAX, OD8_SETTING_GFXCLK_FMAX,
OD8_SETTING_GFXCLK_FREQ1, OD8_SETTING_GFXCLK_FREQ1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment