Home
last modified time | relevance | path

Searched +full:edid +full:- +full:emulation (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/display/bridge/
H A Dnxp,ptn3460.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Paul <seanpaul@chromium.org>
20 edid-emulation:
23 The EDID emulation entry to use
34 powerdown-gpios:
38 reset-gpios:
57 - port@0
58 - port@1
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dnxp-ptn3460.c1 // SPDX-License-Identifier: GPL-2.0-only
56 ret = i2c_master_send(ptn_bridge->client, &addr, 1); in ptn3460_read_bytes()
62 ret = i2c_master_recv(ptn_bridge->client, buf, len); in ptn3460_read_bytes()
80 ret = i2c_master_send(ptn_bridge->client, buf, ARRAY_SIZE(buf)); in ptn3460_write_byte()
94 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */ in ptn3460_select_edid()
96 ptn_bridge->edid_emulation); in ptn3460_select_edid()
98 DRM_ERROR("Failed to transfer EDID to sram, ret=%d\n", ret); in ptn3460_select_edid()
102 /* Enable EDID emulation and select the desired EDID */ in ptn3460_select_edid()
104 ptn_bridge->edid_emulation << PTN3460_EDID_EMULATION_SELECTION; in ptn3460_select_edid()
108 DRM_ERROR("Failed to write EDID value, ret=%d\n", ret); in ptn3460_select_edid()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dedid.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
54 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte() local
57 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) { in edid_get_byte()
58 gvt_vgpu_err("Driver tries to read EDID without proper sequence!\n"); in edid_get_byte()
61 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte()
62 gvt_vgpu_err("edid_get_byte() exceeds the size of EDID!\n"); in edid_get_byte()
66 if (!edid->edid_available) { in edid_get_byte()
67 gvt_vgpu_err("Reading EDID but EDID is not available!\n"); in edid_get_byte()
71 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte()
73 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte()
[all …]
H A Ddisplay.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
45 int pipe = -1; in get_edp_pipe()
64 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in edp_pipe_is_enabled()
76 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in pipe_is_enabled()
78 if (drm_WARN_ON(&dev_priv->drm, in pipe_is_enabled()
80 return -EINVAL; in pipe_is_enabled()
93 /* EDID with 1024x768 as its resolution */
127 /* EDID with 1920x1200 as its resolution */
176 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in emulate_monitor_status_change()
256 * 24 bpp, 4 lanes, 154000 pixel clk (from virtual EDID), in emulate_monitor_status_change()
[all …]
H A Dgvt.h2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
51 #include "edid.h"
63 /* Describe per-platform limitations. */
111 #define vgpu_cfg_space(vgpu) ((vgpu)->cfg_space.virtual_cfg_space)
125 #define vgpu_opregion(vgpu) (&(vgpu->opregion))
244 (((ret_val) == -EBADRQC) || ((ret_val) == -EFAULT))
282 /* This reg is in GVT's mmio save-restor list and in hardware
313 enum intel_vgpu_edid edid; member
373 return i915->gvt; in to_gvt()
383 /* per-vGPU vblank emulation request */
[all …]
/openbmc/linux/drivers/gpu/drm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
19 # gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
25 Kernel-level support for the Direct Rendering Infrastructure (DRI)
64 Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
95 Documentation/dev-tools/kunit/.
129 contention. A history of each drm modeset lock path hitting -EDEADLK
161 In order to keep user-space compatibility, we want in certain
162 use-cases to keep leaking the fbdev physical address to the
163 user-space program handling the fbdev buffer.
177 bool "Allow to specify an EDID data set instead of probing for it"
[all …]
H A Ddrm_probe_helper.c2 * Copyright (c) 2006-2008 Intel Corporation
56 * track of a per-connector hpd interrupt.
73 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag()
77 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag()
81 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag()
94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline()
119 &connector->display_info, in drm_mode_validate_pipeline()
149 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()
150 if (!cmdline_mode->specified) in drm_helper_probe_add_cmdline_mode()
154 list_for_each_entry(mode, &connector->probed_modes, head) { in drm_helper_probe_add_cmdline_mode()
[all …]
/openbmc/qemu/hw/display/
H A Dsii9022.c4 * This is a pretty hollow emulation: all we do is acknowledge that we
6 * so the emulated host can proceed to read out EDID data. All subsequent
7 * set-up of connectors etc will be acknowledged and ignored.
12 * See the COPYING file in the top-level directory.
13 * SPDX-License-Identifier: GPL-2.0-or-later
20 #include "hw/display/i2c-ddc.h"
71 s->addr_byte = true; in sii9022_event()
80 return -1; in sii9022_event()
91 switch (s->ptr) { in sii9022_rx()
93 if (s->ddc_req) { in sii9022_rx()
[all …]
H A Dati.c2 * QEMU ATI SVGA emulation
22 #include "vga-access.h"
23 #include "hw/qdev-properties.h"
27 #include "qemu/error-report.h"
30 #include "hw/display/i2c-ddc.h"
53 DPRINTF("%d -> %d\n", in ati_vga_switch_mode()
54 s->mode, !!(s->regs.crtc_gen_cntl & CRTC2_EXT_DISP_EN)); in ati_vga_switch_mode()
55 if (s->regs.crtc_gen_cntl & CRTC2_EXT_DISP_EN) { in ati_vga_switch_mode()
57 s->mode = EXT_MODE; in ati_vga_switch_mode()
58 if (s->regs.crtc_gen_cntl & CRTC2_EN) { in ati_vga_switch_mode()
[all …]
/openbmc/linux/Documentation/sound/designs/
H A Dprocfile.rst15 card-specific files are stored in the ``card*`` subdirectories.
40 ``<card>-<device>: <name>``
44 ``<card>-<device>: <id>: <name> : <sub-streams>``
61 The card-specific files are found in ``/proc/asound/card*`` directories.
78 When the OSS mixer emulation is enabled (and the module is loaded),
81 mapping by writing to this device. Read OSS-Emulation.txt for
124 The general information of this PCM sub-stream.
127 The current status of this PCM sub-stream, elapsed time,
131 The hardware parameters set for this sub-stream.
134 The soft parameters set for this sub-stream.
[all …]
/openbmc/qemu/docs/devel/
H A Dkconfig.rst13 SCSI adapters. Arm, s390 and x86 boards can all present a virtio-blk
21 QEMU uses a simple domain-specific language to describe the dependencies
25 architecture of the hardware emulation subsystems. Boards only have
36 This domain-specific language is based on the Kconfig language that
41 is instead specified in per-target files under the ``default-configs/``
48 --------------------
78 include it for clarity and future-proofing. After ``bool`` the following
106 set by the user via ``default-configs/*.mak`` files, and only if
122 ``default-configs/*.mak`` files. The following two examples are
136 ------------------------------------
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dvivid.rst1 .. SPDX-License-Identifier: GPL-2.0
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
29 - Support for various pixel aspect ratios and video aspect ratios
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_eld.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic routines and proc interface for ELD(EDID Like Data) information
36 "2-reserved",
37 "3-reserved"
74 /* 2 */ "AC-3",
78 /* 6 */ "AAC-LC",
82 /* 10 */ "E-AC-3/DD+ (Dolby Digital Plus)",
83 /* 11 */ "DTS-HD",
87 /* 15 */ "HE-AAC",
88 /* 16 */ "HE-AACv2",
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu.inc7 LICENSE = "GPL-2.0-only & LGPL-2.1-only"
9 DEPENDS += "bison-native meson-native ninja-native"
11 RDEPENDS:${PN}-ptest = "bash"
13 require qemu-targets.inc
14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means
15 # we need a full python3-native setup
16 inherit pkgconfig ptest update-rc.d systemd python3native
21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
23 file://run-ptest \
24 file://fix-strerrorname_np.patch \
[all …]
/openbmc/u-boot/arch/x86/
H A DKconfig8 prompt "Run U-Boot in 32/64-bit mode"
11 U-Boot can be built as a 32-bit binary which runs in 32-bit mode
12 even on 64-bit machines. In this case SPL is not used, and U-Boot
13 runs directly from the reset vector (via 16-bit start-up).
15 Alternatively it can be run as a 64-bit binary, thus requiring a
16 64-bit machine. In this case SPL runs in 32-bit mode (via 16-bit
17 start-up) then jumps to U-Boot in 64-bit mode.
19 For now, 32-bit mode is recommended, as 64-bit is still
23 bool "32-bit"
25 Build U-Boot as a 32-bit binary with no SPL. This is the currently
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dexynos5250-snow.dts12 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/input/input.h>
51 stdout-path = "serial3:115200n8";
59 samsung,bl1-offset = <0x1400>;
60 samsung,bl2-offset = <0x3400>;
61 u-boot-memory = "/memory";
62 u-boot-offset = <0x3e00000 0x100000>;
67 #address-cells = <1>;
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
58 /* Emulation on FPGA, in "Maximus" System.
60 * (access to non-DC registers will hang FPGA) */
62 /* Emulation on real HW or on FPGA. Used by Diagnostics, enforces
139 /* audio capability from EDID*/
146 /* for Audio Formats 2-8 (Max bit rate divided by 8 kHz)*/
148 uint8_t audio_codec_vendor_specific; /* for Audio Formats 9-15*/
249 Must be zero for wired displays and non-zero for
342 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
414 unsigned int src_height; /* input active height (half-active height in interlaced mode) */
[all …]
/openbmc/linux/Documentation/gpu/
H A Dtodo.rst11 ----------
29 Subsystem-wide refactorings
33 ---------------------------------------------
45 --------------------------------------------------
53 non-converted driver. The "Atomic mode setting design overview" series [2]_
60 .. [1] https://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html
69 ---------------------------------------------------------
75 avoid confusion - the other helpers in that file are all deprecated legacy
83 ----------------------------------
88 - drm_plane_helper_funcs->atomic_check gets called for enabled or disabled
[all …]
/openbmc/qemu/hw/core/
H A Dmachine.c10 * See the COPYING file in the top-level directory.
19 #include "qemu/error-report.h"
21 #include "qapi/qapi-visit-machine.h"
33 #include "exec/confidential-guest-support.h"
34 #include "hw/virtio/virtio-pci.h"
35 #include "hw/virtio/virtio-net.h"
36 #include "hw/virtio/virtio-iommu.h"
40 { TYPE_PCI_DEVICE, "x-pcie-ext-tag", "false" },
45 {"arm-cpu", "backcompat-cntfrq", "true" },
46 { "scsi-hd", "migrate-emulated-scsi-request", "false" },
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-snow-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/samsung-i2s.h>
30 stdout-path = "serial3:115200n8";
33 gpio-keys {
34 compatible = "gpio-keys";
35 pinctrl-names = "default";
[all …]
/openbmc/qemu/
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
76 F: docs/devel/code-of-conduct.rst
77 F: docs/devel/conflict-resolution.rst
78 F: docs/devel/submitting-a-patch.rst
79 F: docs/devel/submitting-a-pull-request.rst
82 -------------------------------------------------
[all …]
H A Dmeson.build10 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
23 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
30 tmpdir = meson.current_build_dir() / 'meson-private/temp'
61 have_linux_user = have_linux_user or target.endswith('linux-user')
62 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
63 have_system = have_system or target.endswith('-softmmu')
107 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
114 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
132 # instead. QEMU --enable-modules depends on this because the SystemTap
135 add_global_arguments('-DSTAP_SDT_V2',
[all …]
/openbmc/linux/include/drm/
H A Ddrm_mode_config.h42 * struct drm_mode_config_funcs - basic driver provided mode setting functions
44 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that
59 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0.
70 * driver-specific information (like the internal native buffer object
106 * Drivers implementing fbdev emulation use drm_kms_helper_hotplug_event()
135 * - Checking that the modes, framebuffers, scaling and placement
138 * - Checking that any hidden shared resources are not oversubscribed.
143 * - Checking that virtualized resources exported to userspace are not
146 * example is dual-pipe operations (which generally should be hidden
153 * - Check that any transitional state is possible and that if
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
7 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
9 strict -- Be less tolerant of platforms that are not
11 rsdt -- prefer RSDT over (default) XSDT
12 copy_dsdt -- copy DSDT to memory
26 If set to vendor, prefer vendor-specific driver
58 Documentation/firmware-guide/acpi/debug.rst for more information about
116 Format: <byte> or <bitmap-list>
[all …]
/openbmc/qemu/hw/vfio/
H A Dpci.c10 * the COPYING file in the top-level directory.
12 * Based on qemu-kvm device-assignment:
18 * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
30 #include "hw/qdev-properties.h"
31 #include "hw/qdev-properties-system.h"
34 #include "qemu/error-report.h"
35 #include "qemu/main-loop.h"
45 #include "migration/qemu-file.h"
48 #define TYPE_VFIO_PCI_NOHOTPLUG "vfio-pci-nohotplug"
62 * been serviced and the time gap is long enough, we re-enable mmaps for
[all …]

12