1
0
Fork 0
remarkable-uboot/drivers/video
Martin Pietryka 3d47b2d741 drivers/video/am335x-fb: Properly point framebuffer behind palette
The DMA was outputting the palette on the screen because the base
for the DMA was not after the palette. In addition to that, the ceiling was
also too high, this led that the output on the screen was shifted.

NOTE: According to the TRM, even in 16/24bit mode a palette is required
in the first 32 bytes of the framebuffer.

See also:
https://e2e.ti.com/support/arm/sitara_arm/f/791/p/234967/834483#834483

"In this mode, the LCDC will assume all information is data and thus you
need to ensure that the DMA points to the first pixel of data and not the
first entry in the frame buffer which is the beginning of the 512 byte
palette."

Signed-off-by: Martin Pietryka <martin.pietryka@chello.at>
Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
2016-04-28 16:51:17 +02:00
..
bridge video: bridge: Allow GPIOs to be optional 2016-01-21 20:42:36 -07:00
fonts video: Add the Cantoraone decorative font 2016-01-30 10:56:34 +01:00
rockchip rockchip: video: Add LVDS support in vop driver 2016-03-14 22:24:10 +01:00
tegra124 tegra: nyan-big: Move the LCD driver to driver model 2016-02-16 09:17:51 -07:00
Kconfig x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
Makefile x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
am335x-fb.c drivers/video/am335x-fb: Properly point framebuffer behind palette 2016-04-28 16:51:17 +02:00
am335x-fb.h cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer 2015-05-28 11:17:48 -04:00
anx9804.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
anx9804.h video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c Introduce a header file for the BIOS emulator 2014-11-25 06:34:14 -07:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c lcd: atmel: Add 32bpp support for HLCDC 2015-11-01 22:02:16 +01:00
atmel_lcdfb.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
backlight-uclass.c dm: backlight: Add a backlight uclass 2016-01-21 20:42:36 -07:00
bcm2835.c bcm2835 video: Map fb as cached 2016-03-27 09:12:19 -04:00
broadwell_igd.c x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
bus_vcxk.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
cfb_console.c video: Add S3C24xx framebuffer support 2016-02-22 18:07:17 +01:00
console_normal.c video: Use fractional units for X coordinates 2016-01-30 10:53:26 +01:00
console_rotate.c video: Use fractional units for X coordinates 2016-01-30 10:53:26 +01:00
console_truetype.c video: truetype: Fix a memory leak on error 2016-02-22 14:41:02 +01:00
coreboot_fb.c x86: Move asm/arch-coreboot/tables.h to a common place 2016-03-17 10:27:21 +08:00
ct69000.c video: ct69000: Remove unused codes 2015-08-26 07:54:17 -07:00
da8xx-fb.c video: Typo cleanup in drivers/video/da8xx-fb.c 2015-12-16 21:02:03 +01:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
display-uclass.c dm: video: Add a operation to display uclass 2016-03-14 22:01:26 +01:00
exynos_dp.c video: Clean up formatting, spelling mistakes in exynos_dp* 2015-12-16 20:59:22 +01:00
exynos_dp_lowlevel.c video: Clean up formatting, spelling mistakes in exynos_dp* 2015-12-16 20:59:22 +01:00
exynos_dp_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fb.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_fb.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fimd.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_mipi_dsi.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_mipi_dsi_common.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_common.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_pwm_bl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_dcu_fb.c video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hitachi_tx18d42vm_lcd.c video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
hitachi_tx18d42vm_lcd.h video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
i915_reg.h x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu.h video, ipu: make ldb clock frequency overwritable through board code 2015-04-20 09:36:59 +02:00
ipu_common.c video: ipu: avoid overflow issue 2016-03-14 22:47:41 +01:00
ipu_disp.c Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2015-12-04 08:21:28 -05:00
ipu_regs.h video: ipu: fix out of bounds access 2015-11-30 09:18:36 +01:00
l5f31188.c video: add L5F31188 TFT-LCD panel driver 2013-08-10 09:31:04 +02:00
ld9040.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lg4573.c video, lg4573: make spi bus and cs configurable 2015-09-02 15:38:16 +02:00
mb862xx.c Revert "powerpc: ppc4xx: remove lwmon5 support" 2015-10-11 17:12:09 -04:00
mpc8xx_lcd.c remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
mvebu_lcd.c video: Add support for Armada XP LCD controller 2016-01-23 22:58:07 +01:00
mx3fb.c video: discard empty video_set_lut implementation 2015-08-30 23:57:07 +02:00
mxc_ipuv3_fb.c video: discard empty video_set_lut implementation 2015-08-30 23:57:07 +02:00
mxcfb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c video: mxsfb: introduce lcdif_power_down 2015-11-12 17:40:53 +01:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
panel-uclass.c dm: panel: Add a panel uclass 2016-01-21 20:42:36 -07:00
pwm_backlight.c dm: backlight: Add a driver for a PWM backlight 2016-01-21 20:42:36 -07:00
pxa_lcd.c Revert "pxa_lcd: make driver cache-aware" 2016-03-27 20:58:08 -04:00
s3c-fb.c video: Add S3C24xx framebuffer support 2016-02-22 18:07:17 +01:00
s6e8ax0.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sandbox_sdl.c video: sandbox: Allow selection of font size and console name 2016-01-30 10:57:30 +01:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
sed156x.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sed13806.c powerpc: mpc5xxx: remove Total5200 board support 2015-01-23 16:53:52 -05:00
simple_panel.c video: Allow simple-panel to be used without regulators 2016-03-17 10:27:22 +08:00
sm501.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smiLynxEM.c powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
ssd2828.c video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
ssd2828.h video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
stb_truetype.h video: freetype: Fix a memory leak with a bad parameter 2016-02-22 14:41:22 +01:00
sunxi_display.c sunxi: Configure only LVDS pins instead of all LCD pins when LVDS interface selected 2016-03-23 22:04:13 +01:00
tegra.c tegra: video: Move LCD driver to use the DM PWM driver 2016-02-16 09:17:53 -07:00
vesa_fb.c dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
vidconsole-uclass.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
video-uclass.c video: Allow selection of the driver and font size 2016-01-30 10:57:20 +01:00
video_bmp.c video: Use 'int' for loop variables instead of short 2016-02-06 13:55:49 +01:00
videomodes.c videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00
videomodes.h videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00