u-boot/drivers/video
Sylwester Nawrocki 38e18d6392 video: Fix line padding calculation for 16 and 24 BPP bitmaps
Each row in the pixel array in the bitmap file is padded
if necessary so the row size is always a multiple of 4 bytes.
In current code the complement of row size to a multiple of
4 bytes is further unnecessarily multiplied by the pixel size.
This results in incorrect displaying of bitmaps having row size
that is not a multiple of 4 bytes. Fix this by removing
the unnecessary multiplication.

Tested with 24BPP bitmap and XRGB32 display.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
2021-04-10 17:09:59 +02:00
..
bridge common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
exynos common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fonts video: add wrappers for ttf type files to .gitignore 2020-01-02 17:45:42 +01:00
imx dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
meson Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
nexell video: add nexell video driver (display/video driver) 2020-07-29 08:43:40 -04:00
rockchip rockchip: video: vop: Add reset support 2021-04-10 11:57:03 +02:00
stm32 video: stm32: remove all child of DSI bridge when its probe failed 2021-03-11 17:55:09 +01:00
sunxi video: sunxi_display: Convert to DM_VIDEO 2021-03-03 10:03:15 +01:00
tegra124 tegra: video: fix tegra_dc_sor_config_panel() 2021-04-10 17:07:35 +02:00
ti common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
anx98xx-edp.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
anx9804.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
anx9804.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
atmel_lcdfb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
backlight-uclass.c panel: Expand the backlight support 2018-10-09 04:40:27 -06:00
backlight_gpio.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
bcm2835.c video: arm: rpi: Add brcm,bcm2711-hdmi0 compatible 2021-02-18 11:59:08 +01:00
broadwell_igd.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bus_vcxk.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cfb_console.c finish removing mb862xx video driver 2021-04-10 16:51:04 +02:00
console_normal.c video: Update normal console to support copy buffer 2020-07-09 12:33:24 +08:00
console_rotate.c video: Update rotated console to support copy buffer 2020-07-09 12:33:24 +08:00
console_truetype.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
coreboot.c x86: video: Allow coreboot video to be used on any x86 board 2021-03-27 15:04:30 +13:00
da8xx-fb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
da8xx-fb.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
display-uclass.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
dsi-host-uclass.c dm: Add a dsi host uclass 2019-10-13 23:34:43 +02:00
dw_hdmi.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
dw_mipi_dsi.c video: dw_mipi_dsi: update log of dphy_enable 2021-03-11 17:55:44 +01:00
efi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
formike.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fsl_dcu_fb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fsl_diu_fb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hitachi_tx18d42vm_lcd.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hitachi_tx18d42vm_lcd.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hx8238d.c drivers: video: Add Support for Himax HX8238D Panel 2021-02-19 23:38:06 +01:00
i915_reg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ihs_video_out.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ivybridge_igd.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig video: SIMPLE_PANEL depends on DM_GPIO 2021-04-10 16:50:07 +02:00
ld9040.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
lg4573.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
logicore_dp_dpcd.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
logicore_dp_tx.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx_regif.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
Makefile drivers: video: Add Support for Himax HX8238D Panel 2021-02-19 23:38:06 +01:00
mali_dp.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mipi_dsi.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
mvebu_lcd.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mx3fb.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mxsfb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
nexell_display.c Replace video_uc_platdata with video_uc_plat 2021-02-19 22:45:47 +01:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
orisetech_otm8009a.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
panel-uclass.c panel: Expand the backlight support 2018-10-09 04:40:27 -06:00
pwm_backlight.c video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02:00
pxa_lcd.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
raydium-rm68200.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
s6e8ax0.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sandbox_dsi_host.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox_osd.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox_osd.h video_osd: Add osd sandbox driver and tests 2018-09-28 18:26:52 +02:00
sandbox_sdl.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
scf0403_lcd.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
seps525.c dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
simple_panel.c video: simple_panel: Add boe,nv101wxmn51 display 2021-02-19 22:26:57 +01:00
simplefb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ssd2828.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ssd2828.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stb_truetype.h video: stb_truetype: simplify expression 2018-03-19 09:47:02 +01:00
tda19988.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tdo-tl070wsh30.c dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
tegra.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
vesa.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
vidconsole-uclass.c Xilinx changes for v2021.04 2021-01-06 07:57:33 -05:00
video-uclass.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
video_bmp.c video: Fix line padding calculation for 16 and 24 BPP bitmaps 2021-04-10 17:09:59 +02:00
video_osd-uclass.c drivers: Add OSD uclass 2018-09-28 18:26:32 +02:00
videomodes.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
videomodes.h videomodes: add helper function to convert from ctfb to display_timing 2020-04-18 12:54:43 +02:00