| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 10 - Hans de Goede <hdegoede@redhat.com> 13 A simple frame-buffer describes a frame-buffer setup by firmware or 19 sub-nodes of the chosen node (*). Simplefb nodes must be named 20 framebuffer@<address>. 41 interaction, then the chosen node stdout-path property should point [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| 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 for x86 systems 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_X86_SYSFB is not selected, we 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 x86 screen_info into a simple-framebuffer mode struct */ 34 type = si->orig_video_isVGA; in parse_mode() 40 if (si->lfb_depth == f->bits_per_pixel && in parse_mode() 41 si->red_size == f->red.length && in parse_mode() 42 si->red_pos == f->red.offset && in parse_mode() 43 si->green_size == f->green.length && in parse_mode() [all …]
|
| /kernel/linux/linux-6.6/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() 39 * The meaning of depth and bpp for direct-color formats is in sysfb_parse_mode() 42 * - DRM format info specifies depth as the number of color in sysfb_parse_mode() 44 * - Linux' EFI platform code computes lfb_depth from the in sysfb_parse_mode() 46 * - VBE 1.1 defines lfb_depth for XRGB1555 as 16, but later in sysfb_parse_mode() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reserved-memory/ |
| D | framebuffer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: /reserved-memory framebuffer node 10 - devicetree-spec@vger.kernel.org 13 - $ref: reserved-memory.yaml 17 const: framebuffer 19 This indicates a region of memory meant to be used as a framebuffer for 21 the framebuffer from being overwritten and use it as the backing memory [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | simplefb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * simplefb.h - Simple Framebuffer Device 30 * Data-Format for Simple-Framebuffers 31 * @name: unique 0-terminated name that can be used to identify the mode 34 * @fourcc: 32bit DRM four-CC code (see drm_fourcc.h) 47 * Simple-Framebuffer description 48 * If the arch-boot code creates simple-framebuffers without DT support, it 49 * can pass the width, height, stride and format via this platform-data object. 50 * The framebuffer location must be given as IORESOURCE_MEM resource.
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | simplefb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * simplefb.h - Simple Framebuffer Device 32 * Data-Format for Simple-Framebuffers 33 * @name: unique 0-terminated name that can be used to identify the mode 36 * @fourcc: 32bit DRM four-CC code (see drm_fourcc.h) 49 * Simple-Framebuffer description 50 * If the arch-boot code creates simple-framebuffers without DT support, it 51 * can pass the width, height, stride and format via this platform-data object. 52 * The framebuffer location must be given as IORESOURCE_MEM resource.
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_gem_atomic_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/dma-resv.h> 4 #include <linux/dma-fence-chain.h> 19 * The GEM atomic helpers library implements generic atomic-commit 21 * synchronization helpers, and plane state and framebuffer BO mappings 24 * Before scanout, a plane's framebuffer needs to be synchronized with 25 * possible writers that draw into the framebuffer. All drivers should 28 * the framebuffer so that the DRM core can synchronize access automatically. 32 * .. code-block:: c 42 * into the HW's framebuffer memory during an atomic update. This requires [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/apple/ |
| D | t8112-jxxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 7 * target-type: J493, J413 19 #address-cells = <2>; 20 #size-cells = <2>; 23 stdout-path = "serial0"; 25 framebuffer0: framebuffer@0 { 26 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 50 hpm0: usb-pd@38 { 53 interrupt-parent = <&pinctrl_ap>; 55 interrupt-names = "irq"; [all …]
|
| D | t8103-jxxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 7 * target-type: J274, J293, J313, J456, J457 21 #address-cells = <2>; 22 #size-cells = <2>; 25 stdout-path = "serial0"; 27 framebuffer0: framebuffer@0 { 28 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 50 hpm0: usb-pd@38 { 53 interrupt-parent = <&pinctrl_ap>; 55 interrupt-names = "irq"; [all …]
|
| D | t600x-j314-j316.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * MacBook Pro (14/16-inch, 2021) 7 * target-type: J314s / J314c / J316s / J316c 12 #include <dt-bindings/leds/common.h> 21 #address-cells = <2>; 22 #size-cells = <2>; 25 stdout-path = "serial0"; 27 framebuffer0: framebuffer@0 { 28 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 40 led-controller { [all …]
|
| D | t600x-j375.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 7 * target-type: J375c / J375d 19 #address-cells = <2>; 20 #size-cells = <2>; 23 stdout-path = "serial0"; 25 framebuffer0: framebuffer@0 { 26 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 45 hpm0: usb-pd@38 { 48 interrupt-parent = <&pinctrl_ap>; 50 interrupt-names = "irq"; [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
| D | simpledrm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 #define DRIVER_DESC "DRM driver for simple-framebuffer platform devices" 44 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int() 46 return -EINVAL; in simplefb_get_validated_int() 56 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int0() 58 return -EINVAL; in simplefb_get_validated_int0() 72 drm_err(dev, "simplefb: missing framebuffer format\n"); in simplefb_get_validated_format() 73 return ERR_PTR(-EINVAL); in simplefb_get_validated_format() 77 if (!strcmp(format_name, fmt->name)) { in simplefb_get_validated_format() 78 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_gem_framebuffer_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drm gem framebuffer helper functions 8 #include <linux/dma-buf.h> 9 #include <linux/dma-fence.h> 10 #include <linux/dma-resv.h> 43 * drm_gem_fb_get_obj() - Get GEM object backing the framebuffer 44 * @fb: Framebuffer 51 * Pointer to &drm_gem_object for the given framebuffer and plane index or NULL 60 return fb->obj[plane]; in drm_gem_fb_get_obj() 76 fb->obj[i] = obj[i]; in drm_gem_fb_init() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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>; 23 reserved-memory { [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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> 30 .id = "simple", 37 .height = -1, 38 .width = -1, 48 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() 49 u32 cr = red >> (16 - info->var.red.length); in simplefb_setcolreg() 50 u32 cg = green >> (16 - info->var.green.length); in simplefb_setcolreg() 51 u32 cb = blue >> (16 - info->var.blue.length); in simplefb_setcolreg() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|