Commit b42eecdf authored by GuoHua Chen's avatar GuoHua Chen Committed by Alex Deucher

drm/radeon: Clean up errors in si_dpm.c

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line
Signed-off-by: default avatarGuoHua Chen <chenguohua_716@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9c7fdfa3
...@@ -46,8 +46,7 @@ ...@@ -46,8 +46,7 @@
#define SCLK_MIN_DEEPSLEEP_FREQ 1350 #define SCLK_MIN_DEEPSLEEP_FREQ 1350
static const struct si_cac_config_reg cac_weights_tahiti[] = static const struct si_cac_config_reg cac_weights_tahiti[] = {
{
{ 0x0, 0x0000ffff, 0, 0xc, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0xc, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x0, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x0, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x101, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x101, SISLANDS_CACCONFIG_CGIND },
...@@ -111,8 +110,7 @@ static const struct si_cac_config_reg cac_weights_tahiti[] = ...@@ -111,8 +110,7 @@ static const struct si_cac_config_reg cac_weights_tahiti[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg lcac_tahiti[] = static const struct si_cac_config_reg lcac_tahiti[] = {
{
{ 0x143, 0x0001fffe, 1, 0x3, SISLANDS_CACCONFIG_CGIND }, { 0x143, 0x0001fffe, 1, 0x3, SISLANDS_CACCONFIG_CGIND },
{ 0x143, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND }, { 0x143, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND },
{ 0x146, 0x0001fffe, 1, 0x3, SISLANDS_CACCONFIG_CGIND }, { 0x146, 0x0001fffe, 1, 0x3, SISLANDS_CACCONFIG_CGIND },
...@@ -203,13 +201,11 @@ static const struct si_cac_config_reg lcac_tahiti[] = ...@@ -203,13 +201,11 @@ static const struct si_cac_config_reg lcac_tahiti[] =
}; };
static const struct si_cac_config_reg cac_override_tahiti[] = static const struct si_cac_config_reg cac_override_tahiti[] = {
{
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_powertune_data powertune_data_tahiti = static const struct si_powertune_data powertune_data_tahiti = {
{
((1 << 16) | 27027), ((1 << 16) | 27027),
6, 6,
0, 0,
...@@ -239,8 +235,7 @@ static const struct si_powertune_data powertune_data_tahiti = ...@@ -239,8 +235,7 @@ static const struct si_powertune_data powertune_data_tahiti =
true true
}; };
static const struct si_dte_data dte_data_tahiti = static const struct si_dte_data dte_data_tahiti = {
{
{ 1159409, 0, 0, 0, 0 }, { 1159409, 0, 0, 0, 0 },
{ 777, 0, 0, 0, 0 }, { 777, 0, 0, 0, 0 },
2, 2,
...@@ -257,8 +252,7 @@ static const struct si_dte_data dte_data_tahiti = ...@@ -257,8 +252,7 @@ static const struct si_dte_data dte_data_tahiti =
false false
}; };
static const struct si_dte_data dte_data_tahiti_pro = static const struct si_dte_data dte_data_tahiti_pro = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -275,8 +269,7 @@ static const struct si_dte_data dte_data_tahiti_pro = ...@@ -275,8 +269,7 @@ static const struct si_dte_data dte_data_tahiti_pro =
true true
}; };
static const struct si_dte_data dte_data_new_zealand = static const struct si_dte_data dte_data_new_zealand = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0 },
{ 0x29B, 0x3E9, 0x537, 0x7D2, 0 }, { 0x29B, 0x3E9, 0x537, 0x7D2, 0 },
0x5, 0x5,
...@@ -293,8 +286,7 @@ static const struct si_dte_data dte_data_new_zealand = ...@@ -293,8 +286,7 @@ static const struct si_dte_data dte_data_new_zealand =
true true
}; };
static const struct si_dte_data dte_data_aruba_pro = static const struct si_dte_data dte_data_aruba_pro = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -311,8 +303,7 @@ static const struct si_dte_data dte_data_aruba_pro = ...@@ -311,8 +303,7 @@ static const struct si_dte_data dte_data_aruba_pro =
true true
}; };
static const struct si_dte_data dte_data_malta = static const struct si_dte_data dte_data_malta = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -329,8 +320,7 @@ static const struct si_dte_data dte_data_malta = ...@@ -329,8 +320,7 @@ static const struct si_dte_data dte_data_malta =
true true
}; };
static struct si_cac_config_reg cac_weights_pitcairn[] = static struct si_cac_config_reg cac_weights_pitcairn[] = {
{
{ 0x0, 0x0000ffff, 0, 0x8a, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x8a, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x0, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x0, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x0, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x0, SISLANDS_CACCONFIG_CGIND },
...@@ -394,8 +384,7 @@ static struct si_cac_config_reg cac_weights_pitcairn[] = ...@@ -394,8 +384,7 @@ static struct si_cac_config_reg cac_weights_pitcairn[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg lcac_pitcairn[] = static const struct si_cac_config_reg lcac_pitcairn[] = {
{
{ 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
{ 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND },
{ 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
...@@ -485,13 +474,11 @@ static const struct si_cac_config_reg lcac_pitcairn[] = ...@@ -485,13 +474,11 @@ static const struct si_cac_config_reg lcac_pitcairn[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_override_pitcairn[] = static const struct si_cac_config_reg cac_override_pitcairn[] = {
{
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_powertune_data powertune_data_pitcairn = static const struct si_powertune_data powertune_data_pitcairn = {
{
((1 << 16) | 27027), ((1 << 16) | 27027),
5, 5,
0, 0,
...@@ -521,8 +508,7 @@ static const struct si_powertune_data powertune_data_pitcairn = ...@@ -521,8 +508,7 @@ static const struct si_powertune_data powertune_data_pitcairn =
true true
}; };
static const struct si_dte_data dte_data_pitcairn = static const struct si_dte_data dte_data_pitcairn = {
{
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
0, 0,
...@@ -539,8 +525,7 @@ static const struct si_dte_data dte_data_pitcairn = ...@@ -539,8 +525,7 @@ static const struct si_dte_data dte_data_pitcairn =
false false
}; };
static const struct si_dte_data dte_data_curacao_xt = static const struct si_dte_data dte_data_curacao_xt = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -557,8 +542,7 @@ static const struct si_dte_data dte_data_curacao_xt = ...@@ -557,8 +542,7 @@ static const struct si_dte_data dte_data_curacao_xt =
true true
}; };
static const struct si_dte_data dte_data_curacao_pro = static const struct si_dte_data dte_data_curacao_pro = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -575,8 +559,7 @@ static const struct si_dte_data dte_data_curacao_pro = ...@@ -575,8 +559,7 @@ static const struct si_dte_data dte_data_curacao_pro =
true true
}; };
static const struct si_dte_data dte_data_neptune_xt = static const struct si_dte_data dte_data_neptune_xt = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -593,8 +576,7 @@ static const struct si_dte_data dte_data_neptune_xt = ...@@ -593,8 +576,7 @@ static const struct si_dte_data dte_data_neptune_xt =
true true
}; };
static const struct si_cac_config_reg cac_weights_chelsea_pro[] = static const struct si_cac_config_reg cac_weights_chelsea_pro[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -658,8 +640,7 @@ static const struct si_cac_config_reg cac_weights_chelsea_pro[] = ...@@ -658,8 +640,7 @@ static const struct si_cac_config_reg cac_weights_chelsea_pro[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_chelsea_xt[] = static const struct si_cac_config_reg cac_weights_chelsea_xt[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -723,8 +704,7 @@ static const struct si_cac_config_reg cac_weights_chelsea_xt[] = ...@@ -723,8 +704,7 @@ static const struct si_cac_config_reg cac_weights_chelsea_xt[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_heathrow[] = static const struct si_cac_config_reg cac_weights_heathrow[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -788,8 +768,7 @@ static const struct si_cac_config_reg cac_weights_heathrow[] = ...@@ -788,8 +768,7 @@ static const struct si_cac_config_reg cac_weights_heathrow[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_cape_verde_pro[] = static const struct si_cac_config_reg cac_weights_cape_verde_pro[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -853,8 +832,7 @@ static const struct si_cac_config_reg cac_weights_cape_verde_pro[] = ...@@ -853,8 +832,7 @@ static const struct si_cac_config_reg cac_weights_cape_verde_pro[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_cape_verde[] = static const struct si_cac_config_reg cac_weights_cape_verde[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -918,8 +896,7 @@ static const struct si_cac_config_reg cac_weights_cape_verde[] = ...@@ -918,8 +896,7 @@ static const struct si_cac_config_reg cac_weights_cape_verde[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg lcac_cape_verde[] = static const struct si_cac_config_reg lcac_cape_verde[] = {
{
{ 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
{ 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND },
{ 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
...@@ -977,13 +954,11 @@ static const struct si_cac_config_reg lcac_cape_verde[] = ...@@ -977,13 +954,11 @@ static const struct si_cac_config_reg lcac_cape_verde[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_override_cape_verde[] = static const struct si_cac_config_reg cac_override_cape_verde[] = {
{
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_powertune_data powertune_data_cape_verde = static const struct si_powertune_data powertune_data_cape_verde = {
{
((1 << 16) | 0x6993), ((1 << 16) | 0x6993),
5, 5,
0, 0,
...@@ -1013,8 +988,7 @@ static const struct si_powertune_data powertune_data_cape_verde = ...@@ -1013,8 +988,7 @@ static const struct si_powertune_data powertune_data_cape_verde =
true true
}; };
static const struct si_dte_data dte_data_cape_verde = static const struct si_dte_data dte_data_cape_verde = {
{
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
0, 0,
...@@ -1031,8 +1005,7 @@ static const struct si_dte_data dte_data_cape_verde = ...@@ -1031,8 +1005,7 @@ static const struct si_dte_data dte_data_cape_verde =
false false
}; };
static const struct si_dte_data dte_data_venus_xtx = static const struct si_dte_data dte_data_venus_xtx = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x71C, 0xAAB, 0xE39, 0x11C7, 0x0 }, { 0x71C, 0xAAB, 0xE39, 0x11C7, 0x0 },
5, 5,
...@@ -1049,8 +1022,7 @@ static const struct si_dte_data dte_data_venus_xtx = ...@@ -1049,8 +1022,7 @@ static const struct si_dte_data dte_data_venus_xtx =
true true
}; };
static const struct si_dte_data dte_data_venus_xt = static const struct si_dte_data dte_data_venus_xt = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0xBDA, 0x11C7, 0x17B4, 0x1DA1, 0x0 }, { 0xBDA, 0x11C7, 0x17B4, 0x1DA1, 0x0 },
5, 5,
...@@ -1067,8 +1039,7 @@ static const struct si_dte_data dte_data_venus_xt = ...@@ -1067,8 +1039,7 @@ static const struct si_dte_data dte_data_venus_xt =
true true
}; };
static const struct si_dte_data dte_data_venus_pro = static const struct si_dte_data dte_data_venus_pro = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x11C7, 0x1AAB, 0x238E, 0x2C72, 0x0 }, { 0x11C7, 0x1AAB, 0x238E, 0x2C72, 0x0 },
5, 5,
...@@ -1085,8 +1056,7 @@ static const struct si_dte_data dte_data_venus_pro = ...@@ -1085,8 +1056,7 @@ static const struct si_dte_data dte_data_venus_pro =
true true
}; };
static struct si_cac_config_reg cac_weights_oland[] = static struct si_cac_config_reg cac_weights_oland[] = {
{
{ 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x82, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x4F, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x153, SISLANDS_CACCONFIG_CGIND },
...@@ -1150,8 +1120,7 @@ static struct si_cac_config_reg cac_weights_oland[] = ...@@ -1150,8 +1120,7 @@ static struct si_cac_config_reg cac_weights_oland[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_mars_pro[] = static const struct si_cac_config_reg cac_weights_mars_pro[] = {
{
{ 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND },
...@@ -1215,8 +1184,7 @@ static const struct si_cac_config_reg cac_weights_mars_pro[] = ...@@ -1215,8 +1184,7 @@ static const struct si_cac_config_reg cac_weights_mars_pro[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_mars_xt[] = static const struct si_cac_config_reg cac_weights_mars_xt[] = {
{
{ 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND },
...@@ -1280,8 +1248,7 @@ static const struct si_cac_config_reg cac_weights_mars_xt[] = ...@@ -1280,8 +1248,7 @@ static const struct si_cac_config_reg cac_weights_mars_xt[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_oland_pro[] = static const struct si_cac_config_reg cac_weights_oland_pro[] = {
{
{ 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND },
...@@ -1345,8 +1312,7 @@ static const struct si_cac_config_reg cac_weights_oland_pro[] = ...@@ -1345,8 +1312,7 @@ static const struct si_cac_config_reg cac_weights_oland_pro[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_weights_oland_xt[] = static const struct si_cac_config_reg cac_weights_oland_xt[] = {
{
{ 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x43, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x29, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0xAF, SISLANDS_CACCONFIG_CGIND },
...@@ -1410,8 +1376,7 @@ static const struct si_cac_config_reg cac_weights_oland_xt[] = ...@@ -1410,8 +1376,7 @@ static const struct si_cac_config_reg cac_weights_oland_xt[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg lcac_oland[] = static const struct si_cac_config_reg lcac_oland[] = {
{
{ 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
{ 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND },
{ 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
...@@ -1457,8 +1422,7 @@ static const struct si_cac_config_reg lcac_oland[] = ...@@ -1457,8 +1422,7 @@ static const struct si_cac_config_reg lcac_oland[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg lcac_mars_pro[] = static const struct si_cac_config_reg lcac_mars_pro[] = {
{
{ 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
{ 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND }, { 0x98, 0x00000001, 0, 0x1, SISLANDS_CACCONFIG_CGIND },
{ 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND }, { 0x104, 0x0001fffe, 1, 0x2, SISLANDS_CACCONFIG_CGIND },
...@@ -1504,13 +1468,11 @@ static const struct si_cac_config_reg lcac_mars_pro[] = ...@@ -1504,13 +1468,11 @@ static const struct si_cac_config_reg lcac_mars_pro[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_cac_config_reg cac_override_oland[] = static const struct si_cac_config_reg cac_override_oland[] = {
{
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_powertune_data powertune_data_oland = static const struct si_powertune_data powertune_data_oland = {
{
((1 << 16) | 0x6993), ((1 << 16) | 0x6993),
5, 5,
0, 0,
...@@ -1540,8 +1502,7 @@ static const struct si_powertune_data powertune_data_oland = ...@@ -1540,8 +1502,7 @@ static const struct si_powertune_data powertune_data_oland =
true true
}; };
static const struct si_powertune_data powertune_data_mars_pro = static const struct si_powertune_data powertune_data_mars_pro = {
{
((1 << 16) | 0x6993), ((1 << 16) | 0x6993),
5, 5,
0, 0,
...@@ -1571,8 +1532,7 @@ static const struct si_powertune_data powertune_data_mars_pro = ...@@ -1571,8 +1532,7 @@ static const struct si_powertune_data powertune_data_mars_pro =
true true
}; };
static const struct si_dte_data dte_data_oland = static const struct si_dte_data dte_data_oland = {
{
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 },
0, 0,
...@@ -1589,8 +1549,7 @@ static const struct si_dte_data dte_data_oland = ...@@ -1589,8 +1549,7 @@ static const struct si_dte_data dte_data_oland =
false false
}; };
static const struct si_dte_data dte_data_mars_pro = static const struct si_dte_data dte_data_mars_pro = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -1607,8 +1566,7 @@ static const struct si_dte_data dte_data_mars_pro = ...@@ -1607,8 +1566,7 @@ static const struct si_dte_data dte_data_mars_pro =
true true
}; };
static const struct si_dte_data dte_data_sun_xt = static const struct si_dte_data dte_data_sun_xt = {
{
{ 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
{ 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0x0, 0x0, 0x0, 0x0, 0x0 },
5, 5,
...@@ -1626,8 +1584,7 @@ static const struct si_dte_data dte_data_sun_xt = ...@@ -1626,8 +1584,7 @@ static const struct si_dte_data dte_data_sun_xt =
}; };
static const struct si_cac_config_reg cac_weights_hainan[] = static const struct si_cac_config_reg cac_weights_hainan[] = {
{
{ 0x0, 0x0000ffff, 0, 0x2d9, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0x0000ffff, 0, 0x2d9, SISLANDS_CACCONFIG_CGIND },
{ 0x0, 0xffff0000, 16, 0x22b, SISLANDS_CACCONFIG_CGIND }, { 0x0, 0xffff0000, 16, 0x22b, SISLANDS_CACCONFIG_CGIND },
{ 0x1, 0x0000ffff, 0, 0x21c, SISLANDS_CACCONFIG_CGIND }, { 0x1, 0x0000ffff, 0, 0x21c, SISLANDS_CACCONFIG_CGIND },
...@@ -1691,8 +1648,7 @@ static const struct si_cac_config_reg cac_weights_hainan[] = ...@@ -1691,8 +1648,7 @@ static const struct si_cac_config_reg cac_weights_hainan[] =
{ 0xFFFFFFFF } { 0xFFFFFFFF }
}; };
static const struct si_powertune_data powertune_data_hainan = static const struct si_powertune_data powertune_data_hainan = {
{
((1 << 16) | 0x6993), ((1 << 16) | 0x6993),
5, 5,
0, 0,
......
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