mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
4521ef42de
commit
2047e40d72
4 changed files with 13 additions and 6 deletions
|
|
@ -224,7 +224,8 @@ static int config_dma(struct bfin_bf54xfb_info *fbi)
|
|||
set_dma_config(CH_EPPI0,
|
||||
set_bfin_dma_config(DIR_READ, DMA_FLOW_AUTO,
|
||||
INTR_DISABLE, DIMENSION_2D,
|
||||
DATA_SIZE_32));
|
||||
DATA_SIZE_32,
|
||||
DMA_NOSYNC_KEEP_DMA_BUF));
|
||||
set_dma_x_count(CH_EPPI0, (LCD_X_RES * LCD_BPP) / DMA_BUS_SIZE);
|
||||
set_dma_x_modify(CH_EPPI0, DMA_BUS_SIZE / 8);
|
||||
set_dma_y_count(CH_EPPI0, LCD_Y_RES);
|
||||
|
|
|
|||
Loading…
Reference in a new issue