From 95b0ef55cd8a8278b64c7ba98c29cda5f4e4b617 Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Tue, 11 Jan 2011 22:08:07 +0100 Subject: amd64_edac: Add support for interleaved region swapping On revC3 and revE Fam10h machines and later, non-interleaved graphics framebuffer memory under the 16G mark can be swapped with a region located at the bottom of memory so that the GPU can use the interleaved region and thus two channels. Add support for that. Signed-off-by: Borislav Petkov --- drivers/edac/amd64_edac.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/edac/amd64_edac.h') diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 6ae8aa8..85e3acb 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -239,6 +239,8 @@ #define dct_dram_enabled(pvt) ((pvt)->dct_sel_lo & BIT(8)) #define dct_memory_cleared(pvt) ((pvt)->dct_sel_lo & BIT(10)) +#define SWAP_INTLV_REG 0x10c + #define DCT_SEL_HI 0x114 /* -- cgit v1.1