| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | chrontel,ch7033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Chrontel CH7033 Video Encoder Device Tree Bindings 11 - Lubomir Rintel <lkundrak@v3.sk> 33 DVI port, should be connected to a node compatible with the 34 dvi-connector binding. 37 - port@0 38 - port@1 41 - compatible [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | chrontel,ch7033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Chrontel CH7033 Video Encoder 11 - Lubomir Rintel <lkundrak@v3.sk> 33 DVI port, should be connected to a node compatible with the 34 dvi-connector binding. 37 - port@0 38 - port@1 41 - compatible [all …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_encoder.h | 36 * struct drm_encoder_funcs - encoder controls 44 * Reset encoder hardware and software state to off. This function isn't 48 void (*reset)(struct drm_encoder *encoder); 53 * Clean up encoder resources. This is only called at driver unload time 54 * through drm_mode_config_cleanup() since an encoder cannot be 57 void (*destroy)(struct drm_encoder *encoder); 63 * interfaces attached to the encoder like debugfs interfaces. 72 int (*late_register)(struct drm_encoder *encoder); 78 * userspace interfaces attached to the encoder from 83 void (*early_unregister)(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 tristate "Chrontel CH7033 Video Encoder" 35 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as 44 Driver for display connectors with support for DDC and hot-plug 48 on ARM-based platforms. Saying Y here when this driver is not needed 75 tristate "MegaChips stdp4028-ge-b850v3-fw and stdp2690-ge-b850v3-fw" 82 to DP++. This is used with the i.MX6 imx-ldb 107 NXP PTN3460 eDP-LVDS bridge chip driver. 116 Parade eDP-LVDS bridge chip driver. 126 The PS8640 is a high-performance and low-power [all …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_encoder.h | 36 * struct drm_encoder_funcs - encoder controls 44 * Reset encoder hardware and software state to off. This function isn't 48 void (*reset)(struct drm_encoder *encoder); 53 * Clean up encoder resources. This is only called at driver unload time 54 * through drm_mode_config_cleanup() since an encoder cannot be 57 void (*destroy)(struct drm_encoder *encoder); 63 * interfaces attached to the encoder like debugfs interfaces. 72 int (*late_register)(struct drm_encoder *encoder); 78 * userspace interfaces attached to the encoder from 83 void (*early_unregister)(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 43 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 47 * VGA, TV, etc. in radeon_connector_hotplug() 49 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug() 52 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in radeon_connector_hotplug() 56 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug() 60 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 62 radeon_connector->con_priv; in radeon_connector_hotplug() 65 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in radeon_connector_hotplug() [all …]
|
| D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 132 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 136 if (!rdev->bios) in combios_get_table_offset() 361 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 364 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 378 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 391 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 392 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 402 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() 403 edid = kmalloc(rdev->mode_info.bios_hardcoded_edid_size, GFP_KERNEL); in radeon_bios_get_hardcoded_edid() [all …]
|
| D | radeon_atombios.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 35 #include "atom-bits.h" 51 if ((rdev->family == CHIP_R420) || in radeon_lookup_i2c_gpio_quirks() 52 (rdev->family == CHIP_R423) || in radeon_lookup_i2c_gpio_quirks() 53 (rdev->family == CHIP_RV410)) { in radeon_lookup_i2c_gpio_quirks() 54 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 55 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 56 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 57 gpio->ucClkMaskShift = 0x19; in radeon_lookup_i2c_gpio_quirks() 58 gpio->ucDataMaskShift = 0x18; in radeon_lookup_i2c_gpio_quirks() [all …]
|
| D | radeon_mode.h | 40 #include <linux/i2c-algo-bit.h> 97 /* radeon gpio-based i2c 119 /* uses multi-media i2c engine */ 246 /* DVI-I properties */ 270 /* pointer to backlight encoder */ 273 /* bitmask for active encoder frontends */ 280 struct radeon_encoder *encoder; member 355 struct drm_encoder *encoder; member 421 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 519 /* some systems have an hdmi and vga port with a shared ddc line */ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 45 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 50 * VGA, TV, etc. in amdgpu_connector_hotplug() 52 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 55 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 58 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 64 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 67 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 71 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() [all …]
|
| D | amdgpu_mode.h | 41 #include <linux/i2c-algo-bit.h> 127 /* amdgpu gpio-based i2c 149 /* uses multi-media i2c engine */ 315 /* DVI-I properties */ 335 /* pointer to backlight encoder */ 351 struct amdgpu_encoder *encoder; member 405 struct drm_encoder *encoder; member 425 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 527 /* some systems have an hdmi and vga port with a shared ddc line */ 536 bool detected_hpd_without_ddc; /* if an HPD signal was detected on DVI, but ddc probing failed */ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 19 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge" 26 ICN6211 is MIPI-DSI/RGB Converter bridge from chipone. 34 tristate "Chrontel CH7033 Video Encoder" 38 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as 50 ChromeOS EC ANX7688 is an ultra-low power 51 4K Ultra-HD (4096x2160p60) mobile HD transmitter 53 2.0 to DisplayPort 1.3 Ultra-HD. It is connected 60 Driver for display connectors with support for DDC and hot-plug 64 on ARM-based platforms. Saying Y here when this driver is not needed [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 46 if (ret == -EINVAL) in radeon_dp_handle_hpd() 52 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 53 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 56 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 58 radeon_connector->con_priv; in radeon_connector_hotplug() 60 if (radeon_connector->is_mst_connector) in radeon_connector_hotplug() 62 if (dig_connector->is_mst) { in radeon_connector_hotplug() 68 * VGA, TV, etc. in radeon_connector_hotplug() 70 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug() [all …]
|
| D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 136 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 140 if (!rdev->bios) in combios_get_table_offset() 365 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 368 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 378 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 382 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 395 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 396 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 406 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() [all …]
|
| D | radeon_atombios.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 35 #include "atom-bits.h" 58 if ((rdev->family == CHIP_R420) || in radeon_lookup_i2c_gpio_quirks() 59 (rdev->family == CHIP_R423) || in radeon_lookup_i2c_gpio_quirks() 60 (rdev->family == CHIP_RV410)) { in radeon_lookup_i2c_gpio_quirks() 61 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 62 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 63 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 64 gpio->ucClkMaskShift = 0x19; in radeon_lookup_i2c_gpio_quirks() 65 gpio->ucDataMaskShift = 0x18; in radeon_lookup_i2c_gpio_quirks() [all …]
|
| D | radeon_mode.h | 41 #include <linux/i2c-algo-bit.h> 98 /* radeon gpio-based i2c 120 /* uses multi-media i2c engine */ 249 /* DVI-I properties */ 275 /* pointer to backlight encoder */ 278 /* bitmask for active encoder frontends */ 287 struct radeon_encoder *encoder; member 364 struct drm_encoder *encoder; member 430 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 483 /* front end for this mst encoder */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 44 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 49 * VGA, TV, etc. in amdgpu_connector_hotplug() 51 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 54 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 57 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 61 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 63 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 66 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 70 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_crt.c | 2 * Copyright © 2006-2007 Intel Corporation 56 * encoder's enable/disable callbacks */ 62 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt() argument 64 return container_of(encoder, struct intel_crt, base); in intel_encoder_to_crt() 88 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state() argument 91 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state() 92 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() 97 encoder->power_domain); in intel_crt_get_hw_state() 101 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state() 103 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_crt_get_hw_state() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_crt.c | 2 * Copyright © 2006-2007 Intel Corporation 67 * encoder's enable/disable callbacks */ 73 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt() argument 75 return container_of(encoder, struct intel_crt, base); in intel_encoder_to_crt() 99 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state() argument 102 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state() 103 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() 108 encoder->power_domain); in intel_crt_get_hw_state() 112 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state() 114 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_crt_get_hw_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_connector.c | 42 * opposed to all other KMS objects representing hardware (like CRTC, encoder or 44 * Hence they are reference-counted using drm_connector_get() and 54 * Connectors must be attached to an encoder to be used. For devices that map 57 * driver must also set the &drm_connector.encoder field to point to the 58 * attached encoder. 60 * For connectors which are not fixed (like built-in panels) the driver needs to 69 * Note drm_connector_[un]register() first take connector->lock and then 82 * Connector and encoder types. 86 { DRM_MODE_CONNECTOR_VGA, "VGA" }, 87 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, [all …]
|
| D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 40 * operation flags (&drm_bridge->ops) and bridge output type 41 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach 46 * struct drm_bridge_connector - A connector backed by a chain of bridges 54 * @encoder: 56 * The encoder at the start of the bridges chain. 58 struct drm_encoder *encoder; member 70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 92 /* ----------------------------------------------------------------------------- 93 * Bridge Connector Hot-Plug Handling [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_connector.c | 49 * opposed to all other KMS objects representing hardware (like CRTC, encoder or 51 * Hence they are reference-counted using drm_connector_get() and 61 * Connectors must be attached to an encoder to be used. For devices that map 64 * driver must also set the &drm_connector.encoder field to point to the 65 * attached encoder. 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 89 * Connector and encoder types. 93 { DRM_MODE_CONNECTOR_VGA, "VGA" }, 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, [all …]
|
| D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 40 * operation flags (&drm_bridge->ops) and bridge output type 41 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach 46 * struct drm_bridge_connector - A connector backed by a chain of bridges 54 * @encoder: 56 * The encoder at the start of the bridges chain. 58 struct drm_encoder *encoder; member 70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 92 /* ----------------------------------------------------------------------------- 93 * Bridge Connector Hot-Plug Handling [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
| D | link_detection.c | 65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; 100 static enum signal_type get_basic_signal_type(struct graphics_object_id encoder, in get_basic_signal_type() argument 106 switch (encoder.id) { in get_basic_signal_type() 118 switch (encoder.id) { in get_basic_signal_type() 170 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type() 173 enc_id = link->link_enc->id; in link_detect_sink_signal_type() 174 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type() 177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type() 180 /* Internal digital encoder will detect only dongles in link_detect_sink_signal_type() 192 /* PCIE detects the actual connector on add-on board */ in link_detect_sink_signal_type() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
| D | dfp.c | 5 * Copyright 2007-2009 Stuart Bennett 58 * this does not give a correct answer for off-chip dvi, but there's no in nv04_dfp_get_bound_head() 61 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_get_bound_head() 72 * Luckily we do know the values ;-) in nv04_dfp_bind_head() 78 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_bind_head() 84 if (dcbent->type == DCB_OUTPUT_LVDS) in nv04_dfp_bind_head() 87 nv_write_tmds(dev, dcbent->or, 0, 0x04, tmds04); in nv04_dfp_bind_head() 90 nv_write_tmds(dev, dcbent->or, 1, 0x04, tmds04 ^ 0x08); in nv04_dfp_bind_head() 95 struct nv04_crtc_reg *crtcstate = nv04_display(dev)->mode_reg.crtc_reg; in nv04_dfp_disable() 100 * values programmed. delay is time for the vga stuff in nv04_dfp_disable() [all …]
|