/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/colord/ |
H A D | 0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch | 16 lib/colord/cd-edid.c | 63 ++++++++++++++++++++++++++++++++++++++++++++ 20 diff --git a/lib/colord/cd-edid.c b/lib/colord/cd-edid.c 22 --- a/lib/colord/cd-edid.c 23 +++ b/lib/colord/cd-edid.c 25 edid = g_object_new (CD_TYPE_EDID, NULL); 26 return CD_EDID (edid); 32 + * @edid: EDID data 35 + * Creates an ICC profile from EDID data. 42 +cd_icc_create_from_edid_data (CdIcc *icc, CdEdid *edid, GError **error) 58 + cd_edid_get_gamma (edid), [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-edid.rst | 13 VIDIOC_G_EDID - VIDIOC_S_EDID - VIDIOC_SUBDEV_G_EDID - VIDIOC_SUBDEV_S_EDID - Get or set the EDID o… 46 These ioctls can be used to get or set an EDID associated with an input 56 pad of the subdevice. If there is no EDID support for the given ``pad`` 59 To get the EDID data the application has to fill in the ``pad``, 60 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved`` 61 array and call :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>`. The current EDID from block 63 ``edid`` points to. The ``edid`` pointer must point to memory at least 67 ``blocks`` to the actual number of blocks. If there are no EDID blocks 75 total number of available EDID blocks and it will return 0 without 76 copying any data. This is an easy way to discover how many EDID blocks [all …]
|
/openbmc/openbmc/meta-nuvoton/recipes-nuvoton/program-edid/ |
H A D | program-edid.bb | 1 SUMMARY = "Program EDID data when use DP connector" 2 DESCRIPTION = "Add program EDID data support for DDC to SMB internal \ 9 DEPENDS = "systemd python3-edid-json-tool-native" 12 SRC_URI = "file://program-edid.service \ 13 file://program-edid.sh \ 14 file://edid.json \ 18 SYSTEMD_SERVICE:${PN} = "program-edid.service" 19 SYSTEMD_ENVIRONMENT_FILE:${PN} +="obmc/edid/program_edid" 20 FILES:${PN} += "/usr/share/edid/edid.bin" 23 json2edid ${UNPACKDIR}/edid.json ${UNPACKDIR}/edid.bin [all …]
|
H A D | python3-edid-json-tool_0.9.1.bb | 1 SUMMARY = "EDID to JSON tool" 3 EDID files, by parsing them as well as by converting between EDID \ 5 HOMEPAGE = "https://github.com/rpavlik/edid-json-tools" 9 SRC_URI = "git://github.com/rpavlik/edid-json-tools.git;branch=main;protocol=https" 15 PIP_INSTALL_PACKAGE = "edid-json-tools"
|
/openbmc/qemu/hw/display/ |
H A D | edid-generate.c | 2 * QEMU EDID generator. 9 #include "hw/display/edid.h" 128 static void edid_fill_modes(uint8_t *edid, uint8_t *xtra3, uint8_t *dta, in edid_fill_modes() argument 144 edid[mode->byte] |= (1 << mode->bit); in edid_fill_modes() 146 rc = edid_std_mode(edid + std, mode->xres, mode->yres); in edid_fill_modes() 160 edid_std_mode(edid + std, 0, 0); in edid_fill_modes() 165 static void edid_checksum(uint8_t *edid, size_t len) in edid_checksum() argument 171 sum += edid[i]; in edid_checksum() 175 edid[len] = 0x100 - sum; in edid_checksum() 179 static uint8_t *edid_desc_next(uint8_t *edid, uint8_t *dta, uint8_t *desc) in edid_desc_next() argument [all …]
|
H A D | edid-region.c | 3 #include "hw/display/edid.h" 7 uint8_t *edid = ptr; in edid_region_read() local 9 return edid[addr]; in edid_region_read() 29 uint8_t *edid, size_t size) in qemu_edid_region_io() argument 32 edid, "edid", size); in qemu_edid_region_io()
|
/openbmc/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 473 static int adv748x_hdmi_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) in adv748x_hdmi_get_edid() argument 477 memset(edid->reserved, 0, sizeof(edid->reserved)); in adv748x_hdmi_get_edid() 479 if (!hdmi->edid.present) in adv748x_hdmi_get_edid() 482 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid() 483 edid->blocks = hdmi->edid.blocks; in adv748x_hdmi_get_edid() 487 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid() 490 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid() 491 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid() 493 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid() 494 edid->blocks * 128); in adv748x_hdmi_get_edid() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/read-edid/ |
H A D | read-edid_3.0.2.bb | 1 SUMMARY = "A pair of tools for reading the EDID from a monitor" 2 DESCRIPTION = "read-edid is a set of two tools - get-edid, which gets the raw \ 3 EDID information from the monitor, and parse-edid, which turns \ 6 HOMEPAGE = "http://www.polypux.org/projects/read-edid/" 8 LICENSE = "read-edid" 11 SRC_URI = "http://polypux.org/projects/read-edid/read-edid-${PV}.tar.gz \ 13 file://0001-get-edid-define-quiet-once.patch \
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | nxp-ptn3460.c | 94 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */ 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() 108 DRM_ERROR("Failed to write EDID value, ret=%d\n", ret); in ptn3460_select_edid() 138 DRM_ERROR("Select EDID failed ret=%d\n", ret); in ptn3460_pre_enable() 157 static struct edid *ptn3460_get_edid(struct drm_bridge *bridge, in ptn3460_get_edid() 162 u8 *edid; in ptn3460_get_edid() local 168 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); in ptn3460_get_edid() 169 if (!edid) { in ptn3460_get_edid() 170 DRM_ERROR("Failed to allocate EDID\n"); in ptn3460_get_edid() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 58 * EDID blocks out in the wild have a variety of bugs, try to collect 188 /* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/ 602 * modes are old-school Mac modes. The EDID spec says the 1152x864@75 mode 1578 * The opaque EDID type, internal to drm_edid.c. 1581 /* Size allocated for edid */ 1583 const struct edid *edid; member 1586 static int edid_hfeeodb_extension_block_count(const struct edid *edid); 1588 static int edid_hfeeodb_block_count(const struct edid *edid) in edid_hfeeodb_block_count() argument 1590 int eeodb = edid_hfeeodb_extension_block_count(edid); in edid_hfeeodb_block_count() 1595 static int edid_extension_block_count(const struct edid *edid) in edid_extension_block_count() argument [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | edid.rst | 4 EDID title 16 - The graphics board is unable to detect any EDID data. 17 - The graphics board incorrectly forwards EDID data to the driver. 18 - The monitor sends no or bogus EDID data. 19 - A KVM sends its own EDID data instead of querying the connected monitor. 26 individually prepared or corrected EDID data set in the /lib/firmware 32 of the built-in binary EDID blobs and to facilitate the creation of 36 To create binary EDID and C source code files from the existing data 37 material, simply type "make" in tools/edid/. 39 If you want to create your own EDID file, copy the file 1024x768.S, [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/read-edid/read-edid/ |
H A D | 0001-get-edid-define-quiet-once.patch | 4 Subject: [PATCH] get-edid: define quiet once 12 get-edid/classic.c | 2 +- 13 get-edid/i2c.c | 2 +- 16 diff --git a/get-edid/classic.c b/get-edid/classic.c 18 --- a/get-edid/classic.c 19 +++ b/get-edid/classic.c 29 diff --git a/get-edid/i2c.c b/get-edid/i2c.c 31 --- a/get-edid/i2c.c 32 +++ b/get-edid/i2c.c
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | adv7604.yaml | 36 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 37 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 38 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 39 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 40 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 41 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 42 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 43 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 44 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 45 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] [all …]
|
H A D | adv748x.yaml | 38 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 39 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 40 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 41 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 42 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 43 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 44 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 45 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 46 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] 47 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ] [all …]
|
/openbmc/u-boot/common/ |
H A D | edid.c | 13 #include <edid.h> 44 int edid_get_ranges(struct edid1_info *edid, unsigned int *hmin, in edid_get_ranges() argument 52 if (edid_check_info(edid)) in edid_get_ranges() 55 for (i = 0; i < ARRAY_SIZE(edid->monitor_details.descriptor); i++) { in edid_get_ranges() 56 monitor = &edid->monitor_details.descriptor[i]; in edid_get_ranges() 79 * @buf: Pointer to EDID detailed timing record 89 /* Edid contains pixel clock in terms of 10KHz */ in decode_timing() 174 struct edid1_info *edid = (struct edid1_info *)buf; in edid_get_timing() local 178 if (buf_size < sizeof(*edid) || edid_check_info(edid)) { in edid_get_timing() 183 if (!EDID1_INFO_FEATURE_PREFERRED_TIMING_MODE(*edid)) { in edid_get_timing() [all …]
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | psb_intel_modes.c | 50 * Fetch the EDID information from @connector using the DDC bus. 55 struct edid *edid; in psb_intel_ddc_get_modes() local 58 edid = drm_get_edid(connector, adapter); in psb_intel_ddc_get_modes() 59 if (edid) { in psb_intel_ddc_get_modes() 60 drm_connector_update_edid_property(connector, edid); in psb_intel_ddc_get_modes() 61 ret = drm_add_edid_modes(connector, edid); in psb_intel_ddc_get_modes() 62 kfree(edid); in psb_intel_ddc_get_modes()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | edid.c | 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() 75 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_panel.c | 158 struct edid *edid) in dp_panel_update_modes() argument 162 if (edid) { in dp_panel_update_modes() 163 rc = drm_connector_update_edid_property(connector, edid); in dp_panel_update_modes() 165 DRM_ERROR("failed to update edid property %d\n", rc); in dp_panel_update_modes() 168 rc = drm_add_edid_modes(connector, edid); in dp_panel_update_modes() 174 DRM_ERROR("failed to update edid property %d\n", rc); in dp_panel_update_modes() 222 kfree(dp_panel->edid); in dp_panel_read_sink_caps() 223 dp_panel->edid = NULL; in dp_panel_read_sink_caps() 225 dp_panel->edid = drm_get_edid(connector, in dp_panel_read_sink_caps() 227 if (!dp_panel->edid) { in dp_panel_read_sink_caps() [all …]
|
/openbmc/linux/include/media/ |
H A D | cec.h | 197 * read the EDID and is not dependent on an external HDMI driver. 312 struct edid; 327 const struct edid *edid); 403 * @edid: pointer to the EDID data 404 * @size: size in bytes of the EDID data 406 * bytes in the EDID will be returned here. This is set to 0 411 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, 439 const struct edid *edid) in cec_s_phys_addr_from_edid() argument 443 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, in cec_get_edid_phys_addr() argument 481 * @edid: the EDID [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbmon.c | 8 * The EDID Parser is a conglomeration from the following sources: 33 #include <video/edid.h> 36 #include "../edid.h" 39 * EDID parser 42 #undef DEBUG /* define this for verbose EDID parsing output */ 145 static int check_edid(unsigned char *edid) in check_edid() argument 147 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4]; in check_edid() 170 if (edid[i] != edid_v1_header[i]) { in check_edid() 177 b = edid + EDID_STRUCT_DISPLAY; in check_edid() 184 b = edid + DETAILED_TIMING_DESCRIPTIONS_START; in check_edid() [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | output.c | 23 struct edid *edid = NULL; in tegra_output_connector_get_modes() local 36 if (output->edid) in tegra_output_connector_get_modes() 37 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL); in tegra_output_connector_get_modes() 39 edid = drm_get_edid(connector, output->ddc); in tegra_output_connector_get_modes() 41 cec_notifier_set_phys_addr_from_edid(output->cec, edid); in tegra_output_connector_get_modes() 42 drm_connector_update_edid_property(connector, edid); in tegra_output_connector_get_modes() 44 if (edid) { in tegra_output_connector_get_modes() 45 err = drm_add_edid_modes(connector, edid); in tegra_output_connector_get_modes() 46 kfree(edid); in tegra_output_connector_get_modes() 126 output->edid = of_get_property(output->of_node, "nvidia,edid", &size); in tegra_output_probe()
|
/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk_vop.c | 11 #include <edid.h> 37 const struct display_timing *edid) in rkvop_enable() argument 41 u32 hactive = edid->hactive.typ; in rkvop_enable() 42 u32 vactive = edid->vactive.typ; in rkvop_enable() 47 writel(V_DSP_XST(edid->hsync_len.typ + edid->hback_porch.typ) | in rkvop_enable() 48 V_DSP_YST(edid->vsync_len.typ + edid->vback_porch.typ), in rkvop_enable() 137 const struct display_timing *edid, in rkvop_mode_set() argument 145 u32 hactive = edid->hactive.typ; in rkvop_mode_set() 146 u32 vactive = edid->vactive.typ; in rkvop_mode_set() 147 u32 hsync_len = edid->hsync_len.typ; in rkvop_mode_set() [all …]
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | via_aux_edid.c | 6 * generic EDID driver 12 #include "../edid.h" 15 static const char *name = "EDID"; 21 unsigned char edid[EDID_LENGTH]; in query_edid() local 33 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) { in query_edid() 34 fb_edid_to_monspecs(edid, spec); in query_edid() 42 printk(KERN_DEBUG "EDID: %s %s\n", spec->manufacturer, spec->monitor); in query_edid() 83 /* as EDID devices can be connected/disconnected just add the driver */ in via_aux_edid_probe()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/edid-decode/ |
H A D | edid-decode_git.bb | 1 SUMMARY = "Decode EDID data in human-readable format" 2 DESCRIPTION = "edid-decode decodes EDID monitor description data in human-readable format." 3 HOMEPAGE = "https://hverkuil.home.xs4all.nl/edid-decode/edid-decode.html" 9 SRC_URI = "git://git.linuxtv.org/edid-decode.git;protocol=https;branch=master"
|
/openbmc/linux/drivers/media/i2c/ |
H A D | adv7511-v4l2.c | 76 /* Number of EDID read retries left */ 119 struct adv7511_state_edid edid; member 548 struct adv7511_state_edid *edid = &state->edid; in adv7511_log_status() local 553 "reading EDID", in adv7511_log_status() 574 v4l2_info(sd, "%s hotplug, %s Rx Sense, %s EDID (%d block(s))\n", in adv7511_log_status() 577 edid->segments ? "found" : "no", in adv7511_log_status() 578 edid->blocks); in adv7511_log_status() 618 v4l2_info(sd, "i2c edid addr: 0x%x\n", state->i2c_edid_addr); in adv7511_log_status() 688 /* Set number of attempts to read the EDID */ in adv7511_s_power() 884 /* The datasheet says that the EDID ready interrupt should be in adv7511_set_isr() [all …]
|