Home
last modified time | relevance | path

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

12345

/Linux-v6.1/Documentation/devicetree/bindings/display/
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>.
36 interaction, then the chosen node stdout-path property should point
[all …]
/Linux-v6.1/drivers/firmware/
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 …]
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()
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-v6.1/drivers/gpu/drm/
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.
35 * .. code-block:: c
50 * into the HW's framebuffer memory during an atomic update. This requires
[all …]
Ddrm_gem_vram_helper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <linux/iosys-map.h>
30 * framebuffer devices with dedicated memory.
33 * manager for simple framebuffer devices with dedicated video memory. GEM
38 * graphics buffers, such as an on-screen framebuffer. GEM does not provide
53 * .. code-block:: c
89 * clean-up handler to run during the DRM device's release.
109 * Buffer-objects helpers
119 WARN_ON(gbo->vmap_use_count); in drm_gem_vram_cleanup()
120 WARN_ON(iosys_map_is_set(&gbo->map)); in drm_gem_vram_cleanup()
[all …]
/Linux-v6.1/include/linux/platform_data/
Dsimplefb.h1 /* 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-v6.1/arch/arm64/boot/dts/apple/
Dt8103-jxxx.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
7 * target-type: J274, J293, J313, J456, J457
20 #address-cells = <2>;
21 #size-cells = <2>;
24 stdout-path = "serial0";
26 framebuffer0: framebuffer@0 {
27 compatible = "apple,simple-framebuffer", "simple-framebuffer";
49 hpm0: usb-pd@38 {
52 interrupt-parent = <&pinctrl_ap>;
54 interrupt-names = "irq";
[all …]
/Linux-v6.1/drivers/gpu/drm/tiny/
Dsimpledrm.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #define DRIVER_DESC "DRM driver for simple-framebuffer platform devices"
42 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int()
44 return -EINVAL; in simplefb_get_validated_int()
54 drm_err(dev, "simplefb: invalid framebuffer %s of %u\n", in simplefb_get_validated_int0()
56 return -EINVAL; in simplefb_get_validated_int0()
70 drm_err(dev, "simplefb: missing framebuffer format\n"); in simplefb_get_validated_format()
71 return ERR_PTR(-EINVAL); in simplefb_get_validated_format()
75 if (!strcmp(format_name, fmt->name)) { in simplefb_get_validated_format()
76 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format()
[all …]
/Linux-v6.1/drivers/firmware/google/
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 …]
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
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 …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsm6350-sony-xperia-lena-pdx213.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
12 chassis-type = "handset";
13 qcom,msm-id = <434 0x10000>, <459 0x10000>;
14 qcom,board-id = <0x1000B 0>;
17 #address-cells = <2>;
18 #size-cells = <2>;
21 framebuffer: framebuffer@a0000000 { label
22 compatible = "simple-framebuffer";
36 cd-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;
[all …]
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";
Dsdm845-lg-judyln.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include "sdm845-lg-common.dtsi"
17 framebuffer@9d400000 {
18 compatible = "simple-framebuffer";
24 lab-supply = <&lab>;
25 ibb-supply = <&ibb>;
30 gpio-keys {
31 pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
33 key-thinq {
[all …]
Dsm6125-sony-xperia-seine-pdx201.dts1 // 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>;
20 chassis-type = "handset";
23 #address-cells = <2>;
24 #size-cells = <2>;
[all …]
Dsm8350-sony-xperia-sagami.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
16 * Yes, you are correct, there is NO MORE {msm,board,pmic}-id on SM8350!
22 chassis-type = "handset";
25 #address-cells = <2>;
26 #size-cells = <2>;
29 framebuffer: framebuffer@e1000000 { label
30 compatible = "simple-framebuffer";
33 /* The display, even though it's 4K, initializes at 1080-ish p */
47 gpio-keys {
48 compatible = "gpio-keys";
[all …]
/Linux-v6.1/drivers/video/fbdev/
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>
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 …]
/Linux-v6.1/Documentation/devicetree/bindings/
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 …]
/Linux-v6.1/arch/arm/boot/dts/
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 …]
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 …]
Dsun5i.dtsi2 * 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 …]
/Linux-v6.1/Documentation/fb/
Dudlfb.rst7 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 …]
Dframebuffer.rst9 ---------------
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-v6.1/arch/mips/n64/
Dinit.c1 // 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-v6.1/samples/vfio-mdev/
Dmdpy-defs.h1 /* 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-v6.1/arch/arm64/boot/dts/socionext/
Duniphier-ld20-akebi96.dts1 // 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 …]

12345