Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dptn3460.txt4 - compatible: "nxp,ptn3460"
5 - reg: i2c address of the bridge
6 - powerdown-gpio: OF device-tree gpio specification for PD_N pin.
7 - reset-gpio: OF device-tree gpio specification for RST_N pin.
8 - edid-emulation: The EDID emulation entry to use
9 +-------+------------+------------------+
18 +-------+------------+------------------+
20 - video interfaces: Device node can contain video interface port
23 [1]: Documentation/devicetree/bindings/media/video-interfaces.txt
26 lvds-bridge@20 {
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dedid.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
51 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte() local
54 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) { in edid_get_byte()
55 gvt_vgpu_err("Driver tries to read EDID without proper sequence!\n"); in edid_get_byte()
58 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte()
59 gvt_vgpu_err("edid_get_byte() exceeds the size of EDID!\n"); in edid_get_byte()
63 if (!edid->edid_available) { in edid_get_byte()
64 gvt_vgpu_err("Reading EDID but EDID is not available!\n"); in edid_get_byte()
68 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte()
70 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte()
[all …]
Ddisplay.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
41 int pipe = -1; in get_edp_pipe()
60 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in edp_pipe_is_enabled()
72 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in pipe_is_enabled()
74 if (drm_WARN_ON(&dev_priv->drm, in pipe_is_enabled()
76 return -EINVAL; in pipe_is_enabled()
89 /* EDID with 1024x768 as its resolution */
123 /* EDID with 1920x1200 as its resolution */
172 struct drm_i915_private *dev_priv = vgpu->gvt->gt->i915; in emulate_monitor_status_change()
251 * 24 bpp, 4 lanes, 154000 pixel clk (from virtual EDID), in emulate_monitor_status_change()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 # gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
22 Kernel-level support for the Direct Rendering Infrastructure (DRI)
143 In order to keep user-space compatibility, we want in certain
144 use-cases to keep leaking the fbdev physical address to the
145 user-space program handling the fbdev buffer.
159 bool "Allow to specify an EDID data set instead of probing for it"
162 Say Y here, if you want to use EDID data to be loaded from the
163 /lib/firmware directory or one of the provided built-in
165 monitor are unable to provide appropriate EDID data. Since this
[all …]
/kernel/linux/linux-6.6/Documentation/sound/designs/
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 …]
/kernel/linux/linux-5.10/Documentation/sound/designs/
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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/media/
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 …]
/kernel/linux/linux-5.10/sound/pci/hda/
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 …]
/kernel/linux/linux-6.6/sound/pci/hda/
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 …]
/kernel/linux/linux-5.10/Documentation/gpu/
Dtodo.rst11 ----------
26 Subsystem-wide refactorings
30 ---------------------------------------------
42 --------------------------------------------------
50 non-converted driver (again virtual HW drivers for KVM are still all
62 ---------------------------------------------------------
68 avoid confusion - the other helpers in that file are all deprecated legacy
76 ----------------------------------
81 - drm_plane_helper_funcs->atomic_check gets called for enabled or disabled
85 into the drm_plane_funcs->atomic_duplicate_state functions.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
57 /* Emulation on FPGA, in "Maximus" System.
59 * (access to non-DC registers will hang FPGA) */
61 /* Emulation on real HW or on FPGA. Used by Diagnostics, enforces
189 /* audio capability from EDID*/
196 /* for Audio Formats 2-8 (Max bit rate divided by 8 kHz)*/
198 uint8_t audio_codec_vendor_specific; /* for Audio Formats 9-15*/
297 Must be zero for wired displays and non-zero for
388 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
441 uint8_t aux_rd_interval[MAX_REPEATER_CNT - 1];
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
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*/
248 Must be zero for wired displays and non-zero for
341 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
413 unsigned int src_height; /* input active height (half-active height in interlaced mode) */
[all …]
/kernel/linux/linux-6.6/Documentation/gpu/
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 …]
/kernel/linux/linux-5.10/include/drm/
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.
64 * driver-specific information (like the internal native buffer object
100 * Drivers implementing fbdev emulation with the helpers can call
106 * Except that there's no vtable for device-level helper callbacks
130 * - Checking that the modes, framebuffers, scaling and placement
133 * - Checking that any hidden shared resources are not oversubscribed.
138 * - Checking that virtualized resources exported to userspace are not
141 * example is dual-pipe operations (which generally should be hidden
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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>
27 stdout-path = "serial3:115200n8";
30 gpio-keys {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]

12