/Linux-v5.15/Documentation/devicetree/bindings/display/ |
D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple Framebuffer Device Tree Bindings 10 - Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 11 - Hans de Goede <hdegoede@redhat.com> 14 A simple frame-buffer describes a frame-buffer setup by firmware or 20 sub-nodes of the chosen node (*). Simplefb nodes must be named 21 framebuffer@<address>. [all …]
|
/Linux-v5.15/drivers/firmware/ |
D | sysfb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 8 * Simple-Framebuffer support 9 * Create a platform-device for any available boot framebuffer. The 10 * simple-framebuffer platform device is already available on DT systems, so 12 * platform device compatible with the "simple-framebuffer" DT object. If 13 * the framebuffer is incompatible, we instead create a legacy 14 * "vesa-framebuffer", "efi-framebuffer" or "platform-framebuffer" device and 16 * to pick these devices up without messing with simple-framebuffer drivers. 19 * If CONFIG_SYSFB_SIMPLEFB is not selected, never register "simple-framebuffer" [all …]
|
D | sysfb_simplefb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 8 * simple-framebuffer probing 9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode. 26 /* try parsing screen_info into a simple-framebuffer mode struct */ 34 type = si->orig_video_isVGA; in sysfb_parse_mode() 40 if (si->lfb_depth == f->bits_per_pixel && in sysfb_parse_mode() 41 si->red_size == f->red.length && in sysfb_parse_mode() 42 si->red_pos == f->red.offset && in sysfb_parse_mode() 43 si->green_size == f->green.length && in sysfb_parse_mode() [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_gem_atomic_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/dma-resv.h> 17 * The GEM atomic helpers library implements generic atomic-commit 19 * synchronization helpers, and plane state and framebuffer BO mappings 22 * Before scanout, a plane's framebuffer needs to be synchronized with 23 * possible writers that draw into the framebuffer. All drivers should 26 * the framebuffer so that the DRM core can synchronize access automatically. 33 * .. code-block:: c 48 * into the HW's framebuffer memory during an atomic update. This requires 50 * cannot be established by commit-tail functions, such as atomic_update, [all …]
|
D | drm_gem_vram_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/dma-buf-map.h> 29 * framebuffer devices with dedicated memory. 32 * manager for simple framebuffer devices with dedicated video memory. GEM 37 * graphics buffers, such as an on-screen framebuffer. GEM does not provide 52 * .. code-block:: c 88 * clean-up handler to run during the DRM device's release. 108 * Buffer-objects helpers 118 WARN_ON(gbo->vmap_use_count); in drm_gem_vram_cleanup() 119 WARN_ON(dma_buf_map_is_set(&gbo->map)); in drm_gem_vram_cleanup() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/apple/ |
D | t8103-j274.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 * target-type: J274 10 /dts-v1/; 15 compatible = "apple,j274", "apple,t8103", "apple,arm-platform"; 23 #address-cells = <2>; 24 #size-cells = <2>; 27 stdout-path = "serial0"; 29 framebuffer0: framebuffer@0 { 30 compatible = "apple,simple-framebuffer", "simple-framebuffer";
|
/Linux-v5.15/include/linux/platform_data/ |
D | simplefb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * simplefb.h - Simple Framebuffer Device 31 * Data-Format for Simple-Framebuffers 32 * @name: unique 0-terminated name that can be used to identify the mode 35 * @fourcc: 32bit DRM four-CC code (see drm_fourcc.h) 48 * Simple-Framebuffer description 49 * If the arch-boot code creates simple-framebuffers without DT support, it 50 * can pass the width, height, stride and format via this platform-data object. 51 * The framebuffer location must be given as IORESOURCE_MEM resource.
|
/Linux-v5.15/drivers/video/fbdev/ |
D | simplefb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simplest possible simple frame-buffer driver, as a platform device 8 * Copyright (C) 2001 Richard Zidlicky <rz@linux-m68k.org> 29 .id = "simple", 36 .height = -1, 37 .width = -1, 47 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() 48 u32 cr = red >> (16 - info->var.red.length); in simplefb_setcolreg() 49 u32 cg = green >> (16 - info->var.green.length); in simplefb_setcolreg() 50 u32 cb = blue >> (16 - info->var.blue.length); in simplefb_setcolreg() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 a well-defined interface, so the software doesn't need to know 21 anything about the low-level (hardware register) stuff. 27 On several non-X86 architectures, the frame buffer device is the 34 buffer devices. Please read <file:Documentation/fb/framebuffer.rst> 35 and the Framebuffer-HOWTO at 36 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 46 device-aware may cause unexpected results. If unsure, say N. 73 If true, at least one selected framebuffer driver can take advantage [all …]
|
/Linux-v5.15/drivers/gpu/drm/tiny/ |
D | simpledrm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 #define DRIVER_DESC "DRM driver for simple-framebuffer platform devices" 50 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int() 52 return -EINVAL; in simplefb_get_validated_int() 62 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int0() 64 return -EINVAL; in simplefb_get_validated_int0() 78 drm_err(dev, "simplefb: missing framebuffer format\n"); in simplefb_get_validated_format() 79 return ERR_PTR(-EINVAL); in simplefb_get_validated_format() 83 if (!strcmp(format_name, fmt->name)) { in simplefb_get_validated_format() 84 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format() [all …]
|
/Linux-v5.15/drivers/firmware/google/ |
D | framebuffer-coreboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * framebuffer-coreboot.c 5 * Memory based framebuffer accessed through coreboot table. 7 * Copyright 2012-2013 David Herrmann <dh.herrmann@gmail.com> 29 struct lb_framebuffer *fb = &dev->framebuffer; in framebuffer_probe() 33 .width = fb->x_resolution, in framebuffer_probe() 34 .height = fb->y_resolution, in framebuffer_probe() 35 .stride = fb->bytes_per_line, in framebuffer_probe() 40 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 41 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/amlogic/ |
D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 #include <dt-bindings/thermal/thermal.h> 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 29 reserved-memory { [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/ |
D | xilinx.txt | 10 Each IP-core has a set of parameters which the FPGA designer can use to 20 properties of the device node. In general, device nodes for IP-cores 23 (name): (generic-name)@(base-address) { 24 compatible = "xlnx,(ip-core-name)-(HW_VER)" 27 interrupt-parent = <&interrupt-controller-phandle>; 29 xlnx,(parameter1) = "(string-value)"; 30 xlnx,(parameter2) = <(int-value)>; 33 (generic-name): an open firmware-style name that describes the 36 (ip-core-name): the name of the ip block (given after the BEGIN 38 and all underscores '_' converted to dashes '-'. [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | sun5i-a10s.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/dma/sun4i-a10.h> 55 #address-cells = <1>; 56 #size-cells = <1>; 59 framebuffer-lcd0-hdmi { 60 compatible = "allwinner,simple-framebuffer", 61 "simple-framebuffer"; 62 allwinner,pipeline = "de_be0-lcd0-hdmi"; 70 display-engine { [all …]
|
D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
D | sun5i.dtsi | 2 * Copyright 2012-2015 Maxime Ripard 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun5i-ccu.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/reset/sun5i-ccu.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; [all …]
|
D | sunxi-h3-h5.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/clock/sun8i-de2.h> 44 #include <dt-bindings/clock/sun8i-h3-ccu.h> 45 #include <dt-bindings/clock/sun8i-r-ccu.h> 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/reset/sun8i-de2.h> 48 #include <dt-bindings/reset/sun8i-h3-ccu.h> 49 #include <dt-bindings/reset/sun8i-r-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; [all …]
|
/Linux-v5.15/Documentation/fb/ |
D | udlfb.rst | 7 DisplayLink chips provide simple hline/blit operations with some compression, 8 pairing that with a hardware framebuffer (16MB) on the other end of the 9 USB wire. That hardware framebuffer is able to drive the VGA, DVI, or HDMI 13 result with a local shadow of the remote hardware framebuffer to identify 15 pixels line-by-line via USB bulk transfers. 18 does not require any acks - the effect is very low latency that 20 non-gaming and non-video applications. 23 setting is very flexible - able to set nearly arbitrary modes from any timing. 32 Advantages of supporting DisplayLink chips with kernel framebuffer interface: 35 one-to-one with the fbdev interface, making the driver quite small and [all …]
|
D | framebuffer.rst | 9 --------------- 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 39 /dev/fb0current -> fb0 40 /dev/fb1current -> fb1 50 graphics card in addition to the built-in hardware. The corresponding frame 56 $FRAMEBUFFER to the path name of a frame buffer device, e.g. (for sh/bash 59 export FRAMEBUFFER=/dev/fb1 63 setenv FRAMEBUFFER /dev/fb1 [all …]
|
/Linux-v5.15/samples/vfio-mdev/ |
D | mdpy-defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Simple pci display device. 5 * Framebuffer memory is pci bar 0. 6 * Configuration (read-only) is in pci config space.
|
/Linux-v5.15/arch/mips/n64/ |
D | init.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * System-specifc irq names for clarity 95 res[0].end = MI_REG_BASE + NUM_MI_REGS * 4 - 1; in n64_platform_init() 99 res[1].end = AI_REG_BASE + NUM_AI_REGS * 4 - 1; in n64_platform_init() 105 platform_device_register_simple("n64audio", -1, res, 3); in n64_platform_init() 110 res[0].end = PI_REG_BASE + NUM_PI_REGS * 4 - 1; in n64_platform_init() 112 platform_device_register_simple("n64cart", -1, res, 1); in n64_platform_init() 117 res[0].end = SI_REG_BASE + NUM_SI_REGS * 4 - 1; in n64_platform_init() 119 platform_device_register_simple("n64joy", -1, res, 1); in n64_platform_init() 121 /* The framebuffer needs 64-byte alignment */ in n64_platform_init() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/gpio-keys.h> 15 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 16 qcom,board-id = <34 0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 26 framebuffer0: framebuffer@5c000000 { [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/socionext/ |
D | uniphier-ld20-akebi96.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Derived from uniphier-ld20-global.dts. 7 // Copyright (C) 2015-2017 Socionext Inc. 8 // Copyright (C) 2019-2020 Linaro Ltd. 10 /dts-v1/; 11 #include <dt-bindings/gpio/uniphier-gpio.h> 12 #include "uniphier-ld20.dtsi" 16 compatible = "socionext,uniphier-ld20-akebi96", 17 "socionext,uniphier-ld20"; 20 stdout-path = "serial0:115200n8"; [all …]
|
/Linux-v5.15/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2007-2011, Intel Corporation. 26 #include "framebuffer.h" 38 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) 44 struct drm_fb_helper *fb_helper = info->par; in psbfb_setcolreg() 45 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_setcolreg() 49 return -ENOMEM; in psbfb_setcolreg() 54 red = CMAP_TOHW(red, info->var.red.length); in psbfb_setcolreg() 55 blue = CMAP_TOHW(blue, info->var.blue.length); in psbfb_setcolreg() 56 green = CMAP_TOHW(green, info->var.green.length); in psbfb_setcolreg() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/sun50i-a64-ccu.h> 7 #include <dt-bindings/clock/sun8i-de2.h> 8 #include <dt-bindings/clock/sun8i-r-ccu.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/reset/sun50i-a64-ccu.h> 11 #include <dt-bindings/reset/sun8i-de2.h> 12 #include <dt-bindings/reset/sun8i-r-ccu.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|