]> git.baikalelectronics.ru Git - kernel.git/commit
atyfb: fix alignment for block writes
authorVille Syrjala <syrjala@sci.fi>
Tue, 30 Jun 2009 18:41:42 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:01 +0000 (18:56 -0700)
commit4d4d7212fbb97a14d1e819fad8cb2e780a029620
tree0d67b5e021dd947ef047d722ff7872db2e38afa3
parent9297c4dcd16b6cf817aefe8461e876c35388339d
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>
drivers/video/aty/atyfb.h
drivers/video/aty/atyfb_base.c
drivers/video/aty/mach64_accel.c