summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/sunxvr500.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2014-08-28 22:53:02 +0200
committerJon Mason <jdmason@kudzu.us>2014-09-14 06:10:38 +0200
commit3cc5ba1938eea0de372a41d1687c8030049c5e8f (patch)
tree042e4a40cb3ae8470018821ca6ee569687d413b8 /drivers/video/fbdev/sunxvr500.c
parentMAINTAINERS: update NTB info (diff)
downloadlinux-3cc5ba1938eea0de372a41d1687c8030049c5e8f.tar.xz
linux-3cc5ba1938eea0de372a41d1687c8030049c5e8f.zip
ntb: Add alignment check to meet hardware requirement
The NTB translate register must have the value to be BAR size aligned. This alignment check make sure that the DMA memory allocated has the proper alignment. Another requirement for NTB to function properly with memory window BAR size greater or equal to 4M is to use the CMA feature in 3.16 kernel with the appropriate CONFIG_CMA_ALIGNMENT and CONFIG_CMA_SIZE_MBYTES set. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/video/fbdev/sunxvr500.c')
0 files changed, 0 insertions, 0 deletions