Home
last modified time | relevance | path

Searched +full:simple +full:- +full:framebuffer (Results 1 – 25 of 165) sorted by relevance

1234567

/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dsimple-framebuffer.yaml1 # 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 …]
/openbmc/linux/drivers/firmware/
H A Dsysfb.c1 // 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 …]
H A Dsysfb_simplefb.c1 // 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 …]
/openbmc/u-boot/doc/device-tree-bindings/video/
H A Dsimple-framebuffer.txt1 Simple Framebuffer
3 A simple frame-buffer describes a raw memory region that may be rendered to,
8 - compatible: "simple-framebuffer"
9 - reg: Should contain the location and size of the framebuffer memory.
10 - width: The width of the framebuffer in pixels.
11 - height: The height of the framebuffer in pixels.
12 - stride: The number of bytes in each line of the framebuffer.
13 - format: The format of the framebuffer surface. Valid values are:
14 - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b).
18 framebuffer {
[all …]
/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dframebuffer.yaml1 # 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 …]
/openbmc/u-boot/drivers/video/
H A DKconfig13 to display a command-line console or splash screen. Enabling this
24 This driver can be use with "simple-panel" and
26 (leds/backlight/pwm-backlight.txt)
34 This driver can be used with "simple-panel" and
36 (leds/backlight/gpio-backlight.txt)
39 bool "Support 8-bit-per-pixel displays"
43 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
49 bool "Support 16-bit-per-pixel displays"
53 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
59 bool "Support 32-bit-per-pixel displays"
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dsimplefb.h1 /* 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.
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_atomic_helper.c1 // 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 …]
/openbmc/linux/arch/arm64/boot/dts/apple/
H A Dt8112-jxxx.dtsi1 // 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 …]
H A Dt8103-jxxx.dtsi1 // 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 …]
H A Dt600x-j314-j316.dtsi1 // 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 …]
H A Dt600x-j375.dtsi1 // 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 …]
/openbmc/u-boot/drivers/video/sunxi/
H A Dsimplefb_common.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2013-2014 Luc Verhaegen <libv@skynet.be>
6 * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com>
17 offset = fdt_node_offset_by_compatible(blob, -1, in sunxi_simplefb_fdt_match()
18 "allwinner,simple-framebuffer"); in sunxi_simplefb_fdt_match()
25 "allwinner,simple-framebuffer"); in sunxi_simplefb_fdt_match()
/openbmc/u-boot/drivers/video/meson/
H A Dsimplefb_common.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2013-2014 Luc Verhaegen <libv@skynet.be>
6 * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com>
17 offset = fdt_node_offset_by_compatible(blob, -1, in meson_simplefb_fdt_match()
18 "amlogic,simple-framebuffer"); in meson_simplefb_fdt_match()
25 "amlogic,simple-framebuffer"); in meson_simplefb_fdt_match()
/openbmc/u-boot/common/
H A Dlcd_simplefb.c1 // SPDX-License-Identifier: GPL-2.0+
35 xsize = uc_priv->xsize; in lcd_dt_simplefb_configure_node()
36 ysize = uc_priv->ysize; in lcd_dt_simplefb_configure_node()
37 bpix = uc_priv->bpix; in lcd_dt_simplefb_configure_node()
38 fb_base = plat->base; in lcd_dt_simplefb_configure_node()
43 fb_base = gd->fb_base; in lcd_dt_simplefb_configure_node()
53 return -EINVAL; in lcd_dt_simplefb_configure_node()
62 static const char compat[] = "simple-framebuffer"; in lcd_dt_simplefb_add_node()
66 off = fdt_add_subnode(blob, 0, "framebuffer"); in lcd_dt_simplefb_add_node()
68 return -1; in lcd_dt_simplefb_add_node()
[all …]
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dsimpledrm.c1 // 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 …]
/openbmc/linux/drivers/firmware/google/
H A Dframebuffer-coreboot.c1 // 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 …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gx.dtsi1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/
H A Dxilinx.txt10 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 …]
/openbmc/linux/drivers/video/fbdev/
H A Dsimplefb.c1 // 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 …]
/openbmc/u-boot/arch/arm/dts/
H A Dsun4i-a10.dtsi5 * 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 …]
H A Dsun5i-a10s.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
49 #include <dt-bindings/dma/sun4i-a10.h>
52 interrupt-parent = <&intc>;
59 #address-cells = <1>;
60 #size-cells = <1>;
63 framebuffer@2 {
64 compatible = "allwinner,simple-framebuffer",
65 "simple-framebuffer";
66 allwinner,pipeline = "de_be0-lcd0-hdmi";
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-lg-judyp.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include "sdm845-lg-common.dtsi"
17 framebuffer@9d400000 {
18 compatible = "simple-framebuffer";
29 firmware-name = "qcom/sdm845/judyp/adsp.mbn";
33 firmware-name = "qcom/sdm845/judyp/cdsp.mbn";
37 zap-shader {
38 firmware-name = "qcom/sdm845/judyp/a630_zap.mbn";
43 firmware-name = "qcom/sdm845/judyp/mba.mbn", "qcom/sdm845/judyp/modem.mbn";
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i-a10s.dtsi4 * 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 …]
H A Dsun4i-a10.dtsi5 * 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 …]

1234567