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 @@ -301,9 +301,14 @@ enum {
301
301
AZX_DCAPS_SNOOP_TYPE(ATI))
302
302
303
303
/* quirks for ATI/AMD HDMI */
304
+ #if defined(CONFIG_PCIE_SG2042_HACK )
305
+ #define AZX_DCAPS_PRESET_ATI_HDMI \
306
+ (AZX_DCAPS_NO_TCSEL | AZX_DCAPS_POSFIX_LPIB)
307
+ #else
304
308
#define AZX_DCAPS_PRESET_ATI_HDMI \
305
309
(AZX_DCAPS_NO_TCSEL | AZX_DCAPS_POSFIX_LPIB|\
306
310
AZX_DCAPS_NO_MSI64)
311
+ #endif
307
312
308
313
/* quirks for ATI HDMI with snoop off */
309
314
#define AZX_DCAPS_PRESET_ATI_HDMI_NS \
You can’t perform that action at this time.
0 commit comments