Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 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.4/arch/x86/kernel/
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 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 …]
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 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 …]
/Linux-v5.4/include/linux/platform_data/
Dsimplefb.h1 /* 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.
/Linux-v5.4/drivers/gpu/drm/
Ddrm_gem_framebuffer_helper.c1 // 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>
36 * drm_gem_fb_get_obj() - Get GEM object backing the framebuffer
37 * @fb: Framebuffer
44 * Pointer to &drm_gem_object for the given framebuffer and plane index or NULL
53 return fb->obj[plane]; in drm_gem_fb_get_obj()
68 return ERR_PTR(-ENOMEM); in drm_gem_fb_alloc()
[all …]
/Linux-v5.4/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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 ---help---
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.
[all …]
/Linux-v5.4/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-v5.4/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>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
21 reserved-memory {
22 #address-cells = <2>;
23 #size-cells = <2>;
[all …]
/Linux-v5.4/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 …]
Dsunxi-h3-h5.dtsi4 * 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 …]
Dsun7i-a20.dtsi4 * 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/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/thermal/thermal.h>
47 #include <dt-bindings/dma/sun4i-a10.h>
48 #include <dt-bindings/clock/sun7i-a20-ccu.h>
49 #include <dt-bindings/reset/sun4i-a10-ccu.h>
52 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <1>;
[all …]
Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
19 #address-cells = <1>;
20 #size-cells = <1>;
23 framebuffer@1fc00000 {
[all …]
/Linux-v5.4/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 …]
Dvesafb.rst5 This is a generic driver for a graphic framebuffer on intel boxes.
7 The idea is simple: Turn on graphics mode at boot time with the help
8 of the BIOS, and use this as framebuffer device /dev/fb0, like the m68k
20 * You can run XF68_FBDev on top of /dev/fb0 (=> non-accelerated X11
22 * Most important: boot logo :-)
33 Documentation/admin-guide/svga.rst for details.
81 "vga=mode-number" you have to transform the numbers to decimal.
88 XF68_FBDev should work just fine, but it is non-accelerated. Running
89 another (accelerated) X-Server like XF86_SVGA might or might not work.
90 It depends on X-Server and graphics board.
[all …]
/Linux-v5.4/arch/arm64/boot/dts/allwinner/
Dsun50i-a64.dtsi6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/clock/sun50i-a64-ccu.h>
46 #include <dt-bindings/clock/sun8i-de2.h>
47 #include <dt-bindings/clock/sun8i-r-ccu.h>
48 #include <dt-bindings/interrupt-controller/arm-gic.h>
49 #include <dt-bindings/reset/sun50i-a64-ccu.h>
50 #include <dt-bindings/reset/sun8i-de2.h>
51 #include <dt-bindings/reset/sun8i-r-ccu.h>
54 interrupt-parent = <&gic>;
55 #address-cells = <1>;
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/Documentation/media/v4l-drivers/
Dvivid.rst1 .. SPDX-License-Identifier: GPL-2.0
8 defined radio receiver. In addition a simple framebuffer device is available for
13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI
14 capture device. Each output can be an S-Video output device or an HDMI output
23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O.
24 - A large list of test patterns and variations thereof
25 - Working brightness, contrast, saturation and hue controls
26 - Support for the alpha color component
27 - Full colorspace support, including limited/full RGB range
28 - All possible control types are present
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Dframebuffer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2007-2011, Intel Corporation.
26 #include "framebuffer.h"
37 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16)
43 struct psb_fbdev *fbdev = info->par; in psbfb_setcolreg()
44 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb; in psbfb_setcolreg()
48 return -ENOMEM; in psbfb_setcolreg()
53 red = CMAP_TOHW(red, info->var.red.length); in psbfb_setcolreg()
54 blue = CMAP_TOHW(blue, info->var.blue.length); in psbfb_setcolreg()
55 green = CMAP_TOHW(green, info->var.green.length); in psbfb_setcolreg()
[all …]
/Linux-v5.4/Documentation/gpu/
Ddrm-kms-helpers.rst21 the same set of common helper vtables. For really simple drivers (anything
23 also the simple display pipe helpers.
27 for handling panel-related information and logic. Plus then a big set of
39 .. kernel-doc:: include/drm/drm_modeset_helper_vtables.h
42 .. kernel-doc:: include/drm/drm_modeset_helper_vtables.h
51 --------
53 .. kernel-doc:: drivers/gpu/drm/drm_atomic_helper.c
57 ---------------------------------------
59 .. kernel-doc:: drivers/gpu/drm/drm_atomic_helper.c
63 --------------------------
[all …]
/Linux-v5.4/drivers/gpu/drm/mcde/
Dmcde_drv.c1 // SPDX-License-Identifier: GPL-2.0
5 * (C) ST-Ericsson SA 2013
9 * DOC: ST-Ericsson MCDE Driver
11 * The MCDE (short for multi-channel display engine) is a graphics
15 * ST-Ericsson U8500 where is was used for mass-market deployments
18 * It can do 1080p30 on SDTV CCIR656, DPI-2, DBI-2 or DSI for
25 * Memory -> Overlay -> Channel -> FIFO -> 5 formatters -> DSI/DPI
40 * one FIFO and one formatter which we connect to the simple CMA framebuffer
46 * - Enabled damaged rectangles using drm_plane_enable_fb_damage_clips()
48 * command-only display.
[all …]

123