File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -251,10 +251,12 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
251
251
* of address for "64-bit" MSIs which breaks on some platforms, notably
252
252
* IBM POWER servers, so we limit them
253
253
*/
254
+ #if !defined(CONFIG_PCIE_SG2042_HACK )
254
255
if (rdev -> family < CHIP_BONAIRE ) {
255
256
dev_info (rdev -> dev , "radeon: MSI limited to 32-bit\n" );
256
257
rdev -> pdev -> no_64bit_msi = 1 ;
257
258
}
259
+ #endif
258
260
259
261
/* force MSI on */
260
262
if (radeon_msi == 1 )
Original file line number Diff line number Diff line change @@ -302,9 +302,14 @@ enum {
302
302
AZX_DCAPS_SNOOP_TYPE(ATI))
303
303
304
304
/* quirks for ATI/AMD HDMI */
305
+ #if defined(CONFIG_PCIE_SG2042_HACK )
306
+ #define AZX_DCAPS_PRESET_ATI_HDMI \
307
+ (AZX_DCAPS_NO_TCSEL | AZX_DCAPS_POSFIX_LPIB)
308
+ #else
305
309
#define AZX_DCAPS_PRESET_ATI_HDMI \
306
310
(AZX_DCAPS_NO_TCSEL | AZX_DCAPS_POSFIX_LPIB|\
307
311
AZX_DCAPS_NO_MSI64)
312
+ #endif
308
313
309
314
/* quirks for ATI HDMI with snoop off */
310
315
#define AZX_DCAPS_PRESET_ATI_HDMI_NS \
You can’t perform that action at this time.
0 commit comments