diff options
author | Ville Syrjala <syrjala@sci.fi> | 2009-06-30 14:41:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-30 21:56:01 -0400 |
commit | ee905d0c58a440a5bd10c845e8305f6f7f706be2 (patch) | |
tree | 0d67b5e021dd947ef047d722ff7872db2e38afa3 /drivers/video/aty/atyfb.h | |
parent | eafad22a05fdaca60f06433ffe8810aaa920d539 (diff) |
atyfb: fix alignment for block writes
Block writes require 64 byte alignment. Since block writes could be used
with SGRAM or WRAM also refine the memory type detection to check for
either type before deciding to use the 64 byte alignment.
Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Tested-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty/atyfb.h')
-rw-r--r-- | drivers/video/aty/atyfb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb.h b/drivers/video/aty/atyfb.h index 0369653b5d88..1f39a62f899b 100644 --- a/drivers/video/aty/atyfb.h +++ b/drivers/video/aty/atyfb.h | |||
@@ -219,6 +219,7 @@ struct atyfb_par { | |||
219 | #define M64F_XL_DLL 0x00080000 | 219 | #define M64F_XL_DLL 0x00080000 |
220 | #define M64F_MFB_FORCE_4 0x00100000 | 220 | #define M64F_MFB_FORCE_4 0x00100000 |
221 | #define M64F_HW_TRIPLE 0x00200000 | 221 | #define M64F_HW_TRIPLE 0x00200000 |
222 | #define M64F_XL_MEM 0x00400000 | ||
222 | /* | 223 | /* |
223 | * Register access | 224 | * Register access |
224 | */ | 225 | */ |