u-boot/drivers/video
Ivan T. Ivanov cce167eb8d bcm2835: Dynamically calculate bytes per pixel parameter
brcm,bcm2708-fb device provided by firmware on RPi5 uses
16 bits per pixel, so lets calculate framebuffer bytes
per pixel dynamically based on queried information.

Tested to work for RPi2b v1.2, RPi3b v1.3, RPi4b v1.1,
RPi2 Zero W, RPi5b v1.0.

Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Tested-by: Jens Maus <mail@jens-maus.de>
Tested-by: Darko Alavanja <darko.alavanja@konsulko.com>
Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2024-01-30 17:39:51 +01:00
..
bridge video: bridge: add Solomon SSD2825 DSI/LVDS driver 2023-04-26 07:25:34 +02:00
exynos global: Remove duplicate common.h inclusions 2023-12-21 08:54:37 -05:00
fonts video: add wrappers for ttf type files to .gitignore 2020-01-02 17:45:42 +01:00
imx Correct SPL use of PANEL 2023-02-10 07:41:41 -05:00
meson common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
nexell video: add nexell video driver (display/video driver) 2020-07-29 08:43:40 -04:00
rockchip treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
stm32 board: stm32f469-disco: add support to display 2023-12-15 15:41:23 +01:00
sunxi pinctrl: sunxi: remove GPIO_EXTRA_HEADER 2023-10-22 23:40:57 +01:00
tegra20 treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
tegra124 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
ti drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
tidss video: tidss: Use DT property names for parsing nodes 2024-01-29 14:50:15 -05:00
zynqmp video: zynqmp: Enable 1024x768 resolution 2023-06-12 13:25:02 +02:00
anx98xx-edp.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
anx9804.c sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
anx9804.h sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
atmel_hlcdfb.c video: Drop atmel LCD code 2022-10-30 20:07:17 +01:00
atmel_lcdfb.c video: Drop atmel LCD code 2022-10-30 20:07:17 +01:00
backlight-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
backlight_gpio.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
bcm2835.c bcm2835: Dynamically calculate bytes per pixel parameter 2024-01-30 17:39:51 +01:00
bmp.c video: Move bmp code to drivers/video 2023-09-19 11:36:25 -04:00
bochs.c video: bochs: Set the frame buffer size per configuration 2023-08-01 13:35:39 +02:00
bochs.h video: bochs: Avoid using IO instructions to access VGA IO port 2023-08-01 13:31:29 +02:00
broadwell_igd.c video: broadwell: Use mtrr_set_next_var() for graphics memory 2023-08-01 10:06:46 +08:00
console_core.c video: console: Fix buffer overflow in cmd 'font list' 2024-01-29 14:53:11 -05:00
console_normal.c video: Support showing a cursor 2023-10-11 15:43:55 -04:00
console_rotate.c video console: allow font size configuration at runtime 2023-03-07 15:59:35 +01:00
console_truetype.c video: Support VIDEO_X2R10G10B10 in truetype console 2024-01-29 14:53:06 -05:00
coreboot.c x86: coreboot: Enable VIDEO_COPY 2023-09-22 06:05:40 +08:00
display-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
dsi-host-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
dw_hdmi.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
dw_mipi_dsi.c treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
efi.c efi: Support copy framebuffer 2023-03-13 13:53:01 +01:00
endeavoru-panel.c video: panel: add generic endeavoru panel 2023-04-26 07:35:57 +02:00
himax-hx8394.c video: hx8394: Add panel driver for hannstar,hsd060bhw4 2023-07-14 18:10:05 +02:00
hitachi_tx18d42vm_lcd.c pinctrl: sunxi: remove GPIO_EXTRA_HEADER 2023-10-22 23:40:57 +01: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: hx8238 fix build bug 2021-07-15 17:56:03 +05:30
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 video: ivybridge: Use mtrr_set_next_var() for graphics memory 2023-08-01 10:06:46 +08:00
Kconfig video: Don't require the font command 2023-11-07 14:48:51 -05:00
lm3533_backlight.c video: add lm3533 backlight driver 2023-04-26 07:23:10 +02: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 video: Move bmp code to drivers/video 2023-09-19 11:36:25 -04:00
mali_dp.c dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
mcde_simple.c video: Add simple driver for ST-Ericsson MCDE with pre-configured display 2021-08-01 21:40:51 +02: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
mxsfb.c video: mxs: Drop old video code 2022-03-28 20:18:26 +02:00
nexell_display.c global: Migrate CONFIG_FB_ADDR to CFG 2022-12-23 10:09:42 -05:00
omap3_dss.c video: Drop video_fb header 2022-03-28 20:16:46 +02:00
orisetech_otm8009a.c video: otm8009a: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
panel-uclass.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pwm_backlight.c video: pwm_backlight: use regulator_set_enable_if_allowed 2023-10-22 19:23:47 +02:00
raydium-rm68200.c video: rm68200: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
renesas-r61307.c video: panel: add Renesas R61307 MIPI DSI panel driver 2023-04-26 07:27:05 +02:00
renesas-r69328.c video: panel: add Renesas R69328 MIPI DSI panel driver 2023-04-26 07:29:12 +02: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 video: Support showing the U-Boot logo 2021-12-26 23:32:46 +01: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: use regulator_set_enable_if_allowed 2023-10-22 19:25:10 +02:00
simplefb.c video: simplefb: add rotation support 2022-10-30 08:28:40 +01:00
ssd2828.c pinctrl: sunxi: remove GPIO_EXTRA_HEADER 2023-10-22 23:40:57 +01: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: Update stb_truetype 2023-07-14 12:54:51 -04:00
tda19988.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tdo-tl070wsh30.c video: tl070wsh30: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
u_boot_logo.bmp video: Support showing the U-Boot logo 2021-12-26 23:32:46 +01:00
vesa.c video: vesa: Use mtrr_set_next_var() for graphics memory 2023-08-01 10:06:46 +08:00
vidconsole-uclass.c video: Support showing a cursor 2023-10-11 15:43:55 -04:00
vidconsole_internal.h video: Support showing a cursor 2023-10-11 15:43:55 -04:00
video-uclass.c video: Fill video handoff in video post probe 2024-01-29 14:49:17 -05:00
video_bmp.c video: bmp: Support rgba8888 pixel format 2023-06-12 13:25:01 +02:00
video_osd-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
videomodes.c global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
videomodes.h global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00