diff options
author | Ville Syrjala <syrjala@sci.fi> | 2009-06-30 11:41:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-30 18:56:01 -0700 |
commit | ee905d0c58a440a5bd10c845e8305f6f7f706be2 (patch) | |
tree | 0d67b5e021dd947ef047d722ff7872db2e38afa3 /drivers/video/aty/atyfb.h | |
parent | eafad22a05fdaca60f06433ffe8810aaa920d539 (diff) | |
download | kernel_samsung_crespo-ee905d0c58a440a5bd10c845e8305f6f7f706be2.zip kernel_samsung_crespo-ee905d0c58a440a5bd10c845e8305f6f7f706be2.tar.gz kernel_samsung_crespo-ee905d0c58a440a5bd10c845e8305f6f7f706be2.tar.bz2 |
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 0369653..1f39a62 100644 --- a/drivers/video/aty/atyfb.h +++ b/drivers/video/aty/atyfb.h @@ -219,6 +219,7 @@ struct atyfb_par { #define M64F_XL_DLL 0x00080000 #define M64F_MFB_FORCE_4 0x00100000 #define M64F_HW_TRIPLE 0x00200000 +#define M64F_XL_MEM 0x00400000 /* * Register access */ |