linux/drivers/staging/fbtft
Michal Suchanek 175f5a4130 staging: fbtft: do not allocate huge txbuf
txbuflen can be set to arbitrary value by user and it is also set
automagically to the maximum transfer size of the SPI master controller.

Do not allocate the buffer when larger than vmem. When my SPI master
controller reports maximum transfer size 16M the probe of fbtft fails.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-21 17:52:47 +02:00
..
fb_agm1264k-fl.c Staging: fbtft: fb_agm1264k-fl: No space is necessary after cast. 2016-03-28 07:30:36 -07:00
fb_bd663474.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_hx8340bn.c staging: fbtft: Add blank line after function declaration 2016-02-11 19:54:36 -08:00
fb_hx8347d.c staging: fbtft: Add blank line after function declaration 2016-02-11 19:54:36 -08:00
fb_hx8353d.c staging: fbtft: Remove blank line after '{' brace 2016-02-11 19:54:36 -08:00
fb_hx8357d.c staging: fbtft: Indent to match open parenthesis 2016-02-11 19:54:36 -08:00
fb_hx8357d.h staging: fbtft: Fix block comments according to kernel coding style 2016-02-11 19:54:36 -08:00
fb_ili9163.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9320.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9325.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9340.c staging: fbtft: Fix alignment to match open parenthesis 2016-02-14 16:22:49 -08:00
fb_ili9341.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9481.c staging: fbtft: Remove the use of CamelCase 2016-02-14 16:22:49 -08:00
fb_ili9486.c staging: fbtft: Use standard MIPI DCS command defines for ili9486 2016-02-07 19:39:27 -08:00
fb_pcd8544.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_ra8875.c staging: fbtft: fb_ra8875.c: Remove unneeded void pointer cast 2016-03-11 22:09:09 -08:00
fb_s6d02a1.c staging: fbtft: Use standard MIPI DCS command defines for s6d02a1 2016-02-07 19:39:27 -08:00
fb_s6d1121.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_ssd1289.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_ssd1305.c Staging: fbtft: add ssd1305 controller support 2016-02-07 19:43:05 -08:00
fb_ssd1306.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_ssd1325.c Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
fb_ssd1331.c Staging: fbtft: fb_ssd1331: Remove unnecessary cast 2015-10-16 22:56:23 -07:00
fb_ssd1351.c staging: fbtft: Fix multi-line comment style 2015-10-16 22:56:23 -07:00
fb_st7735r.c staging: fbtft: Use standard MIPI DCS command defines for st7735r 2016-02-07 19:39:27 -08:00
fb_st7789v.c staging: fbtft: use init function instead of init sequence 2015-10-24 19:42:37 -07:00
fb_tinylcd.c staging: fbtft: Use standard MIPI DCS command defines for tinylcd 2016-02-07 19:39:27 -08:00
fb_tls8204.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_uc1611.c staging: fbtft: fb_uc1611.c: Drop void pointer cast 2016-03-11 22:09:09 -08:00
fb_uc1701.c Staging: fbtft: Removed commented out/dead code 2016-02-07 19:37:36 -08:00
fb_upd161704.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_watterott.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fbtft_device.c Staging: fbtft: fbtft_device: No space is necessary after cast. 2016-03-28 07:30:36 -07:00
fbtft-bus.c staging: fbtft: fbtft-bus.c: Drop unneeded void pointer cast 2016-03-11 22:09:09 -08:00
fbtft-core.c staging: fbtft: do not allocate huge txbuf 2016-08-21 17:52:47 +02:00
fbtft-io.c Staging: fbtft: fbtft-io: No space is necessary after cast. 2016-03-28 07:30:36 -07:00
fbtft-sysfs.c staging/fbtft : Add missing whitespace around operators 2015-09-12 18:24:37 -07:00
fbtft.h staging: fbtft: Remove unused and duplicated defines 2016-02-07 19:41:20 -08:00
flexfb.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
internal.h
Kconfig Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
Makefile Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
README

  FBTFT
=========

Linux Framebuffer drivers for small TFT LCD display modules.
The module 'fbtft' makes writing drivers for some of these displays very easy.

Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution.

INSTALLATION
  Download kernel sources

  From Linux 3.15
    cd drivers/video/fbdev/fbtft
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/fbdev/Kconfig:   source "drivers/video/fbdev/fbtft/Kconfig"
    Add to drivers/video/fbdev/Makefile:  obj-y += fbtft/

  Before Linux 3.15
    cd drivers/video
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/Kconfig:   source "drivers/video/fbtft/Kconfig"
    Add to drivers/video/Makefile:  obj-y += fbtft/

  Enable driver(s) in menuconfig and build the kernel


See wiki for more information: https://github.com/notro/fbtft/wiki


Source: https://github.com/notro/fbtft/