increase txbuflen to 32k to accomodate bcm2835
According to the fbtft wiki: "To maximize throughput, make sure txbuflen is 16k or 32k (default is usually 4k). This is needed because of the DMA mapping/engine overhead per transfer that spi-bcm2835 has."
This commit is contained in:
parent
fcdb78d315
commit
5f3468fce2
3 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
|||
height = <240>;
|
||||
col_offset = <53>;
|
||||
row_offset = <40>;
|
||||
txbuflen = <32768>;
|
||||
dc-gpios = <&gpio 25 0>;
|
||||
backlight = <&backlight>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
rotate = <0>;
|
||||
width = <240>;
|
||||
height = <240>;
|
||||
txbuflen = <32768>;
|
||||
buswidth = <8>;
|
||||
dc-gpios = <&gpio 25 0>;
|
||||
led-gpios = <&gpio 26 0>;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
rotate = <0>;
|
||||
width = <240>;
|
||||
height = <320>;
|
||||
txbuflen = <32768>;
|
||||
buswidth = <8>;
|
||||
dc-gpios = <&gpio 25 0>;
|
||||
led-gpios = <&gpio 12 0>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue