/Linux-v6.1/Documentation/devicetree/bindings/display/panel/ |
D | panel-edp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without 17 board, either for second-sourcing purposes or to support multiple SKUs 51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>: 52 : +-----------------------+---------+---------+ 53 eDP -----------+ Black video | Src vid | Blk vid + [all …]
|
D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 41 If no such name exists, and unless the property is mandatory according to 43 non-descriptive information. For instance an LCD panel in a system that [all …]
|
D | innolux,p120zdg-bf1.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/innolux,p120zdg-bf1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel 10 - Sandeep Panda <spanda@codeaurora.org> 11 - Douglas Anderson <dianders@chromium.org> 14 - $ref: panel-common.yaml# 18 const: innolux,p120zdg-bf1 20 enable-gpios: true [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | conn.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 35 struct nvkm_conn *conn = container_of(notify, typeof(*conn), hpd); in nvkm_conn_hpd() 36 struct nvkm_disp *disp = conn->disp; in nvkm_conn_hpd() 37 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_hpd() 38 const struct nvkm_gpio_ntfy_rep *line = notify->data; in nvkm_conn_hpd() 40 int index = conn->index; in nvkm_conn_hpd() 42 CONN_DBG(conn, "HPD: %d", line->mask); in nvkm_conn_hpd() 44 if (!nvkm_gpio_get(gpio, 0, DCB_GPIO_UNUSED, conn->hpd.index)) in nvkm_conn_hpd() 50 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_conn_hpd() 57 nvkm_notify_put(&conn->hpd); in nvkm_conn_fini() [all …]
|
D | base.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 48 head->func->vblank_put(head); in nvkm_disp_vblank_fini() 57 head->func->vblank_get(head); in nvkm_disp_vblank_init() 65 container_of(notify->event, typeof(*disp), vblank); in nvkm_disp_vblank_ctor() 69 int ret = -ENOSYS; in nvkm_disp_vblank_ctor() 71 if (!(ret = nvif_unpack(ret, &data, &size, req->v0, 0, 0, false))) { in nvkm_disp_vblank_ctor() 72 notify->size = sizeof(struct nvif_notify_head_rep_v0); in nvkm_disp_vblank_ctor() 73 if (ret = -ENXIO, req->v0.head <= disp->vblank.index_nr) { in nvkm_disp_vblank_ctor() 74 notify->types = 1; in nvkm_disp_vblank_ctor() 75 notify->index = req->v0.head; in nvkm_disp_vblank_ctor() [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/cec/ |
D | cec-ioc-dqevent.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 CEC_DQEVENT - Dequeue a CEC event 35 non-blocking mode and no event is pending, then it will return -1 and 38 The internal event queues are per-filehandle and per-event type. If 39 there is no more room in a queue then the last event is overwritten with 43 two :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` events with 51 .. flat-table:: struct cec_event_state_change 52 :header-rows: 0 53 :stub-columns: 0 56 * - __u16 [all …]
|
/Linux-v6.1/drivers/gpu/drm/display/ |
D | drm_dp_cec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DisplayPort CEC-Tunneling-over-AUX support 19 * Unfortunately it turns out that we have a chicken-and-egg situation 20 * here. Quite a few active (mini-)DP-to-HDMI or USB-C-to-HDMI adapters 21 * have a converter chip that supports CEC-Tunneling-over-AUX (usually the 23 * useless. Note that MegaChips 2900-based adapters appear to have good 27 * Sadly there is no way for this driver to know this. What happens is 33 * was never supported by any OS. So there was no easy way of testing it, 34 * and no incentive to correctly wire up the CEC pin. 41 * https://hverkuil.home.xs4all.nl/cec-status.txt [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_hpd.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 38 hpd->shifts->field_name, hpd->masks->field_name 41 hpd->base.base.ctx 43 (hpd->regs->reg) 50 dal_hw_gpio_destruct(&pin->base); in dal_hw_hpd_destruct() 56 struct hw_hpd *hpd = HW_HPD_FROM_BASE(*ptr); in dal_hw_hpd_destroy() local 58 dal_hw_hpd_destruct(hpd); in dal_hw_hpd_destroy() 60 kfree(hpd); in dal_hw_hpd_destroy() 69 struct hw_hpd *hpd = HW_HPD_FROM_BASE(ptr); in get_value() local [all …]
|
/Linux-v6.1/drivers/gpu/drm/panel/ |
D | panel-samsung-atna33xc20.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * by the DRM_PANEL_SIMPLE driver because its power sequencing is non-standard. 22 /* T3 VCC to HPD high is max 200 ms */ 72 if (p->el3_was_on) in atana33xc20_suspend() 73 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 75 ret = regulator_disable(p->supply); in atana33xc20_suspend() 78 p->powered_off_time = ktime_get(); in atana33xc20_suspend() 79 p->el3_was_on = false; in atana33xc20_suspend() 91 atana33xc20_wait(p->powered_off_time, 500); in atana33xc20_resume() 93 ret = regulator_enable(p->supply); in atana33xc20_resume() [all …]
|
D | panel-edp.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 46 * struct panel_delay - Describes delays for a simple panel. 50 * @hpd_reliable: Time for HPD to be reliable 53 * before the HPD signal is reliable. Ideally this is 0 but some panels, 57 * Presumably some old panels simply didn't have HPD hooked up and put 59 * hpd_absent. While that works, it's non-ideal. 64 * @hpd_absent: Time to wait if HPD isn't hooked up. 68 * This is T3-max on eDP timing diagrams or the delay from power on 69 * until HPD is guaranteed to be asserted. 87 * doesn't happen at the end of the function if a HPD GPIO was [all …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 43 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 46 /* bail if the connector does not have hpd pin, e.g., 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() [all …]
|
D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 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() 374 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 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() [all …]
|
D | rs600.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 39 #include <linux/io-64-nonatomic-lo-hi.h> 60 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL 85 * avivo_wait_for_vblank - vblank wait asic callback. 90 * Wait for vblank on the requested crtc (r5xx-r7xx). 96 if (crtc >= rdev->num_crtc) in avivo_wait_for_vblank() 122 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip() 123 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip() 124 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip() 129 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_hotplug.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 42 * handlers gather the hotplug detect (HPD) information from relevant registers 52 * pulses, with failures and non-MST long pulses triggering regular hotplug 65 * while before being re-enabled. The intention is to mitigate issues raising 71 * callback is handled by i915_digport_work_func reenabling of hpd is not 79 * intel_hpd_pin_default - return default pin associated with certain port. 81 * @port: the hpd port to get associated pin 90 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default() 108 return encoder ? encoder->hpd_pin : HPD_NONE; in intel_connector_hpd_pin() 112 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin [all …]
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 * with the DRM device. At that point the connector becomes fully usable, no 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 70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 92 /* ----------------------------------------------------------------------------- 93 * Bridge Connector Hot-Plug Handling 104 drm_for_each_bridge_in_chain(bridge_connector->encoder, bridge) { in drm_bridge_connector_hpd_notify() 105 if (bridge->funcs->hpd_notify) in drm_bridge_connector_hpd_notify() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn32/ |
D | hw_factory_dcn32.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 49 #define block HPD 111 // add a dummy entry for cases no such port 132 // add a dummy entry for cases no such port 194 generic->regs = &generic_regs[en]; in define_generic_registers() 195 generic->shifts = &generic_shift[en]; in define_generic_registers() 196 generic->masks = &generic_mask[en]; in define_generic_registers() 197 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 206 switch (pin->id) { in define_ddc_registers() 208 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/ |
D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/media-bus-format.h> 40 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 48 if (conn->hpd_gpio) { in display_connector_detect() 49 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 55 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 58 switch (conn->bridge.type) { in display_connector_detect() 66 * that no cable is connected. in display_connector_detect() 75 * Composite and S-Video connectors have no other detection in display_connector_detect() 76 * mean than the HPD GPIO. For VGA connectors, even if we have in display_connector_detect() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/samsung/ |
D | samsung,exynos-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Inki Dae <inki.dae@samsung.com> 11 - Seung-Woo Kim <sw0312.kim@samsung.com> 12 - Kyungmin Park <kyungmin.park@samsung.com> 13 - Krzysztof Kozlowski <krzk@kernel.org> 18 - samsung,exynos4210-hdmi 19 - samsung,exynos4212-hdmi [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dce120/ |
D | hw_factory_dce120.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 42 #define block HPD 135 switch (pin->id) { in define_ddc_registers() 137 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 138 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 141 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 142 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 149 ddc->shifts = &ddc_shift; in define_ddc_registers() 150 ddc->masks = &ddc_mask; in define_ddc_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 44 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 48 /* bail if the connector does not have hpd pin, e.g., 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() 65 /* if existing sink type was not DP no need to retrain */ in amdgpu_connector_hotplug() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dce80/ |
D | hw_factory_dce80.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 122 switch (pin->id) { in define_ddc_registers() 124 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 128 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 129 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 136 ddc->shifts = &ddc_shift; in define_ddc_registers() 137 ddc->masks = &ddc_mask; in define_ddc_registers() 143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin); in define_hpd_registers() local [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dce60/ |
D | hw_factory_dce60.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 122 switch (pin->id) { in define_ddc_registers() 124 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 128 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 129 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 136 ddc->shifts = &ddc_shift; in define_ddc_registers() 137 ddc->masks = &ddc_mask; in define_ddc_registers() 143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin); in define_hpd_registers() local 145 hpd->regs = &hpd_regs[en]; in define_hpd_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
D | hw_factory_dcn10.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 43 #define block HPD 155 generic->regs = &generic_regs[en]; in define_generic_registers() 156 generic->shifts = &generic_shift[en]; in define_generic_registers() 157 generic->masks = &generic_mask[en]; in define_generic_registers() 158 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 167 switch (pin->id) { in define_ddc_registers() 169 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 170 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dce110/ |
D | hw_factory_dce110.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 118 switch (pin->id) { in define_ddc_registers() 120 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 121 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 124 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 132 ddc->shifts = &ddc_shift; in define_ddc_registers() 133 ddc->masks = &ddc_mask; in define_ddc_registers() 139 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin); in define_hpd_registers() local [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor-homestar-r2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "sc7180-trogdor.dtsi" 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi" 12 #include "sc7180-trogdor-homestar.dtsi" 16 compatible = "google,homestar-rev2","google,homestar-rev23", "qcom,sc7180"; 20 /delete-property/hpd-gpios; 21 no-hpd;
|