52
52
static void dce_v10_0_set_display_funcs (struct amdgpu_device * adev );
53
53
static void dce_v10_0_set_irq_funcs (struct amdgpu_device * adev );
54
54
55
- static const u32 crtc_offsets [] =
56
- {
55
+ static const u32 crtc_offsets [] = {
57
56
CRTC0_REGISTER_OFFSET ,
58
57
CRTC1_REGISTER_OFFSET ,
59
58
CRTC2_REGISTER_OFFSET ,
@@ -63,8 +62,7 @@ static const u32 crtc_offsets[] =
63
62
CRTC6_REGISTER_OFFSET
64
63
};
65
64
66
- static const u32 hpd_offsets [] =
67
- {
65
+ static const u32 hpd_offsets [] = {
68
66
HPD0_REGISTER_OFFSET ,
69
67
HPD1_REGISTER_OFFSET ,
70
68
HPD2_REGISTER_OFFSET ,
@@ -121,30 +119,26 @@ static const struct {
121
119
.hpd = DISP_INTERRUPT_STATUS_CONTINUE5__DC_HPD6_INTERRUPT_MASK
122
120
} };
123
121
124
- static const u32 golden_settings_tonga_a11 [] =
125
- {
122
+ static const u32 golden_settings_tonga_a11 [] = {
126
123
mmDCI_CLK_CNTL , 0x00000080 , 0x00000000 ,
127
124
mmFBC_DEBUG_COMP , 0x000000f0 , 0x00000070 ,
128
125
mmFBC_MISC , 0x1f311fff , 0x12300000 ,
129
126
mmHDMI_CONTROL , 0x31000111 , 0x00000011 ,
130
127
};
131
128
132
- static const u32 tonga_mgcg_cgcg_init [] =
133
- {
129
+ static const u32 tonga_mgcg_cgcg_init [] = {
134
130
mmXDMA_CLOCK_GATING_CNTL , 0xffffffff , 0x00000100 ,
135
131
mmXDMA_MEM_POWER_CNTL , 0x00000101 , 0x00000000 ,
136
132
};
137
133
138
- static const u32 golden_settings_fiji_a10 [] =
139
- {
134
+ static const u32 golden_settings_fiji_a10 [] = {
140
135
mmDCI_CLK_CNTL , 0x00000080 , 0x00000000 ,
141
136
mmFBC_DEBUG_COMP , 0x000000f0 , 0x00000070 ,
142
137
mmFBC_MISC , 0x1f311fff , 0x12300000 ,
143
138
mmHDMI_CONTROL , 0x31000111 , 0x00000011 ,
144
139
};
145
140
146
- static const u32 fiji_mgcg_cgcg_init [] =
147
- {
141
+ static const u32 fiji_mgcg_cgcg_init [] = {
148
142
mmXDMA_CLOCK_GATING_CNTL , 0xffffffff , 0x00000100 ,
149
143
mmXDMA_MEM_POWER_CNTL , 0x00000101 , 0x00000000 ,
150
144
};
@@ -1425,8 +1419,7 @@ static void dce_v10_0_audio_enable(struct amdgpu_device *adev,
1425
1419
enable ? AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL__AUDIO_ENABLED_MASK : 0 );
1426
1420
}
1427
1421
1428
- static const u32 pin_offsets [] =
1429
- {
1422
+ static const u32 pin_offsets [] = {
1430
1423
AUD0_REGISTER_OFFSET ,
1431
1424
AUD1_REGISTER_OFFSET ,
1432
1425
AUD2_REGISTER_OFFSET ,
@@ -1811,8 +1804,7 @@ static void dce_v10_0_afmt_fini(struct amdgpu_device *adev)
1811
1804
}
1812
1805
}
1813
1806
1814
- static const u32 vga_control_regs [6 ] =
1815
- {
1807
+ static const u32 vga_control_regs [6 ] = {
1816
1808
mmD1VGA_CONTROL ,
1817
1809
mmD2VGA_CONTROL ,
1818
1810
mmD3VGA_CONTROL ,
@@ -3651,17 +3643,15 @@ static void dce_v10_0_set_irq_funcs(struct amdgpu_device *adev)
3651
3643
adev -> hpd_irq .funcs = & dce_v10_0_hpd_irq_funcs ;
3652
3644
}
3653
3645
3654
- const struct amdgpu_ip_block_version dce_v10_0_ip_block =
3655
- {
3646
+ const struct amdgpu_ip_block_version dce_v10_0_ip_block = {
3656
3647
.type = AMD_IP_BLOCK_TYPE_DCE ,
3657
3648
.major = 10 ,
3658
3649
.minor = 0 ,
3659
3650
.rev = 0 ,
3660
3651
.funcs = & dce_v10_0_ip_funcs ,
3661
3652
};
3662
3653
3663
- const struct amdgpu_ip_block_version dce_v10_1_ip_block =
3664
- {
3654
+ const struct amdgpu_ip_block_version dce_v10_1_ip_block = {
3665
3655
.type = AMD_IP_BLOCK_TYPE_DCE ,
3666
3656
.major = 10 ,
3667
3657
.minor = 1 ,
0 commit comments