Home
last modified time | relevance | path

Searched refs:edid (Results 1 - 25 of 401) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c462 static int adv748x_hdmi_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) in adv748x_hdmi_get_edid() argument
466 memset(edid->reserved, 0, sizeof(edid->reserved)); in adv748x_hdmi_get_edid()
468 if (!hdmi->edid.present) in adv748x_hdmi_get_edid()
471 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
472 edid->blocks = hdmi->edid.blocks; in adv748x_hdmi_get_edid()
476 if (edid->start_block >= hdmi->edid in adv748x_hdmi_get_edid()
512 adv748x_hdmi_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) adv748x_hdmi_set_edid() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c473 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 in adv748x_hdmi_get_edid()
523 adv748x_hdmi_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) adv748x_hdmi_set_edid() argument
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_edid.h290 struct edid { struct
345 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);
346 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb);
351 struct edid *drm_load_edid_firmware(struct drm_connector *connector);
355 static inline struct edid *
362 bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2);
482 struct edid *drm_do_get_edi
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_edid.c47 #define version_greater(edid, maj, min) \
48 (((edid)->version > (maj)) || \
49 ((edid)->version == (maj) && (edid)->revision > (min)))
91 struct edid *edid; member
1619 * drm_edid_are_equal - compare two edid blobs.
1623 * edid had changed.
1625 bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid
1665 struct edid *edid = (struct edid *)raw_edid; drm_edid_block_valid() local
1754 drm_edid_is_valid(struct edid *edid) drm_edid_is_valid() argument
1834 connector_bad_edid(struct drm_connector *connector, u8 *edid, int num_blocks) connector_bad_edid() argument
1944 u8 *edid, *new; drm_do_get_edid() local
2059 struct edid *edid; drm_get_edid() local
2088 struct edid *edid; drm_get_edid_switcheroo() local
2104 drm_edid_duplicate(const struct edid *edid) drm_edid_duplicate() argument
2119 edid_vendor(const struct edid *edid, const char *vendor) edid_vendor() argument
2137 edid_get_quirks(const struct edid *edid) edid_get_quirks() argument
2296 struct edid *edid = (struct edid *)raw_edid; drm_for_each_detailed_block() local
2334 drm_monitor_supports_rb(struct edid *edid) drm_monitor_supports_rb() argument
2360 drm_gtf2_hbreak(struct edid *edid) drm_gtf2_hbreak() argument
2369 drm_gtf2_2c(struct edid *edid) drm_gtf2_2c() argument
2378 drm_gtf2_m(struct edid *edid) drm_gtf2_m() argument
2387 drm_gtf2_k(struct edid *edid) drm_gtf2_k() argument
2396 drm_gtf2_2j(struct edid *edid) drm_gtf2_2j() argument
2408 standard_timing_level(struct edid *edid) standard_timing_level() argument
2451 drm_mode_std(struct drm_connector *connector, struct edid *edid, struct std_timing *t) drm_mode_std() argument
2612 drm_mode_detailed(struct drm_device *dev, struct edid *edid, struct detailed_timing *timing, u32 quirks) drm_mode_detailed() argument
2712 mode_in_hsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) mode_in_hsync_range() argument
2729 mode_in_vsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) mode_in_vsync_range() argument
2746 range_pixel_clock(struct edid *edid, u8 *t) range_pixel_clock() argument
2761 mode_in_range(const struct drm_display_mode *mode, struct edid *edid, struct detailed_timing *timing) mode_in_range() argument
2807 drm_dmt_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) drm_dmt_modes_for_range() argument
2842 drm_gtf_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) drm_gtf_modes_for_range() argument
2871 drm_cvt_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) drm_cvt_modes_for_range() argument
2939 add_inferred_modes(struct drm_connector *connector, struct edid *edid) add_inferred_modes() argument
3002 add_established_modes(struct drm_connector *connector, struct edid *edid) add_established_modes() argument
3039 struct edid *edid = closure->edid; do_standard_modes() local
3066 add_standard_modes(struct drm_connector *connector, struct edid *edid) add_standard_modes() argument
3158 add_cvt_modes(struct drm_connector *connector, struct edid *edid) add_cvt_modes() argument
3212 add_detailed_modes(struct drm_connector *connector, struct edid *edid, u32 quirks) add_detailed_modes() argument
3248 drm_find_edid_extension(const struct edid *edid, int ext_id, int *ext_index) drm_find_edid_extension() argument
3274 drm_find_displayid_extension(const struct edid *edid, int *length, int *idx, int *ext_index) drm_find_displayid_extension() argument
3299 drm_find_cea_extension(const struct edid *edid) drm_find_cea_extension() argument
3591 add_alternate_cea_modes(struct drm_connector *connector, struct edid *edid) add_alternate_cea_modes() argument
4269 add_cea_modes(struct drm_connector *connector, struct edid *edid) add_cea_modes() argument
4447 get_monitor_name(struct edid *edid, char name[13]) get_monitor_name() argument
4473 drm_edid_get_monitor_name(struct edid *edid, char *name, int bufsize) drm_edid_get_monitor_name() argument
4507 drm_edid_to_eld(struct drm_connector *connector, struct edid *edid) drm_edid_to_eld() argument
4603 drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) drm_edid_to_sad() argument
4665 drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb) drm_edid_to_speaker_allocation() argument
4760 drm_detect_hdmi_monitor(struct edid *edid) drm_detect_hdmi_monitor() argument
4798 drm_detect_monitor_audio(struct edid *edid) drm_detect_monitor_audio() argument
5000 drm_parse_cea_ext(struct drm_connector *connector, const struct edid *edid) drm_parse_cea_ext() argument
5064 drm_get_monitor_range(struct drm_connector *connector, const struct edid *edid) drm_get_monitor_range() argument
5105 drm_add_display_info(struct drm_connector *connector, const struct edid *edid) drm_add_display_info() argument
5281 add_displayid_detailed_modes(struct drm_connector *connector, struct edid *edid) add_displayid_detailed_modes() argument
5320 drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) drm_add_edid_modes() argument
5962 drm_update_tile_info(struct drm_connector *connector, const struct edid *edid) drm_update_tile_info() argument
[all...]
H A Ddrm_edid_load.c43 "edid/800x600.bin",
44 "edid/1024x768.bin",
45 "edid/1280x1024.bin",
46 "edid/1600x1200.bin",
47 "edid/1680x1050.bin",
48 "edid/1920x1080.bin",
162 static int edid_size(const u8 *edid, int data_size) in edid_size() argument
167 return (edid[0x7e] + 1) * EDID_LENGTH; in edid_size()
175 u8 *edid; in edid_load() local
211 edid in edid_load()
270 struct edid *edid; drm_load_edid_firmware() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_edid.c1581 /* 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
1600 edid_block_count(const struct edid *edid) edid_block_count() argument
1610 edid_size(const struct edid *edid) edid_size() argument
1615 edid_block_data(const struct edid *edid, int index) edid_block_data() argument
1622 edid_extension_block_data(const struct edid *edid, int index) edid_extension_block_data() argument
1680 drm_edid_legacy_init(struct drm_edid *drm_edid, const struct edid *edid) drm_edid_legacy_init() argument
1746 edid_header_fix(void *edid) edid_header_fix() argument
1761 const struct edid *edid = _edid; drm_edid_header_is_valid() local
1806 edid_block_is_zero(const void *edid) edid_block_is_zero() argument
2036 drm_edid_is_valid(struct edid *edid) drm_edid_is_valid() argument
2084 edid_filter_invalid_blocks(struct edid *edid, size_t *alloc_size) edid_filter_invalid_blocks() argument
2188 connector_bad_edid(struct drm_connector *connector, const struct edid *edid, int num_blocks) connector_bad_edid() argument
2251 drm_edid_override_set(struct drm_connector *connector, const void *edid, size_t size) drm_edid_override_set() argument
2367 struct edid *edid, *new; _drm_do_get_edid() local
2521 _drm_edid_alloc(const void *edid, size_t size) _drm_edid_alloc() argument
2551 drm_edid_alloc(const void *edid, size_t size) drm_edid_alloc() argument
2629 struct edid *edid; drm_get_edid() local
2671 struct edid *edid; drm_edid_read_custom() local
2749 edid_extract_panel_id(const struct edid *edid) edid_extract_panel_id() argument
2839 struct edid *edid; drm_get_edid_switcheroo() local
2887 drm_edid_duplicate(const struct edid *edid) drm_edid_duplicate() argument
3223 const struct edid *edid = drm_edid->edid; standard_timing_level() local
3549 mode_in_hsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) mode_in_hsync_range() argument
3566 mode_in_vsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) mode_in_vsync_range() argument
3583 range_pixel_clock(const struct edid *edid, const u8 *t) range_pixel_clock() argument
3601 const struct edid *edid = drm_edid->edid; mode_in_range() local
3872 const struct edid *edid = drm_edid->edid; add_established_modes() local
5179 edid_hfeeodb_extension_block_count(const struct edid *edid) edid_hfeeodb_extension_block_count() argument
5478 drm_edid_get_monitor_name(const struct edid *edid, char *name, int bufsize) drm_edid_get_monitor_name() argument
5640 drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads) drm_edid_to_sad() argument
5686 drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb) drm_edid_to_speaker_allocation() argument
5769 drm_detect_hdmi_monitor(const struct edid *edid) drm_detect_hdmi_monitor() argument
5831 drm_detect_monitor_audio(const struct edid *edid) drm_detect_monitor_audio() argument
6323 const struct edid *edid = closure->drm_edid->edid; get_monitor_range() local
6514 const struct edid *edid; update_display_info() local
6879 drm_connector_update_edid_property(struct drm_connector *connector, const struct edid *edid) drm_connector_update_edid_property() argument
6901 drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) drm_add_edid_modes() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c52 struct edid *edid; in psb_intel_ddc_get_modes() local
55 edid = drm_get_edid(connector, adapter); in psb_intel_ddc_get_modes()
56 if (edid) { in psb_intel_ddc_get_modes()
57 drm_connector_update_edid_property(connector, edid); in psb_intel_ddc_get_modes()
58 ret = drm_add_edid_modes(connector, edid); in psb_intel_ddc_get_modes()
59 kfree(edid); in psb_intel_ddc_get_modes()
H A Dcdv_intel_hdmi.c134 struct edid *edid = NULL; in cdv_hdmi_detect() local
137 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); in cdv_hdmi_detect()
141 if (edid) { in cdv_hdmi_detect()
142 if (edid->input & DRM_EDID_INPUT_DIGITAL) { in cdv_hdmi_detect()
145 drm_detect_hdmi_monitor(edid); in cdv_hdmi_detect()
147 drm_detect_monitor_audio(edid); in cdv_hdmi_detect()
149 kfree(edid); in cdv_hdmi_detect()
216 struct edid *edid in cdv_hdmi_get_modes() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c55 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()
H A Dcdv_intel_hdmi.c131 struct edid *edid = NULL; in cdv_hdmi_detect() local
134 edid = drm_get_edid(connector, connector->ddc); in cdv_hdmi_detect()
138 if (edid) { in cdv_hdmi_detect()
139 if (edid->input & DRM_EDID_INPUT_DIGITAL) { in cdv_hdmi_detect()
142 drm_detect_hdmi_monitor(edid); in cdv_hdmi_detect()
144 drm_detect_monitor_audio(edid); in cdv_hdmi_detect()
146 kfree(edid); in cdv_hdmi_detect()
212 struct edid *edid in cdv_hdmi_get_modes() local
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_edid.h330 struct edid { struct
385 int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads);
386 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb);
395 bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2);
562 struct edid *drm_do_get_edid(struct drm_connector *connector,
566 struct edid *drm_get_edid(struct drm_connector *connector,
569 struct edid *drm_get_edid_switchero
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_connector.c100 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_connector_destroy()
101 kfree(intel_connector->edid); in intel_connector_destroy()
178 * intel_connector_update_modes - update connector from edid
180 * @edid: previously read EDID information
183 struct edid *edid) in intel_connector_update_modes()
187 drm_connector_update_edid_property(connector, edid); in intel_connector_update_modes()
188 ret = drm_add_edid_modes(connector, edid); in intel_connector_update_modes()
203 struct edid *edid; in intel_ddc_get_modes() local
182 intel_connector_update_modes(struct drm_connector *connector, struct edid *edid) intel_connector_update_modes() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbmon.c33 #include <video/edid.h>
36 #include "../edid.h"
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()
207 static void fix_edid(unsigned char *edid, int fix) in fix_edid() argument
215 memcpy(edid, edid_v1_header, 8); in fix_edid()
219 b = edid in fix_edid()
256 edid_checksum(unsigned char *edid) edid_checksum() argument
277 edid_check_header(unsigned char *edid) edid_check_header() argument
615 fb_create_modedb(unsigned char *edid, int *dbsize, const struct fb_monspecs *specs) fb_create_modedb() argument
694 fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs) fb_get_monitor_limits() argument
775 get_monspecs(unsigned char *edid, struct fb_monspecs *specs) get_monspecs() argument
893 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) fb_parse_edid() argument
936 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) fb_edid_to_monspecs() argument
1404 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) fb_parse_edid() argument
1408 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) fb_edid_to_monspecs() argument
1495 unsigned char *edid = NULL; fb_firmware_edid() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbmon.c33 #include <video/edid.h>
36 #include "../edid.h"
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()
207 static void fix_edid(unsigned char *edid, int fix) in fix_edid() argument
215 memcpy(edid, edid_v1_header, 8); in fix_edid()
219 b = edid in fix_edid()
256 edid_checksum(unsigned char *edid) edid_checksum() argument
277 edid_check_header(unsigned char *edid) edid_check_header() argument
616 fb_create_modedb(unsigned char *edid, int *dbsize, const struct fb_monspecs *specs) fb_create_modedb() argument
695 fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs) fb_get_monitor_limits() argument
776 get_monspecs(unsigned char *edid, struct fb_monspecs *specs) get_monspecs() argument
894 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) fb_parse_edid() argument
937 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) fb_edid_to_monspecs() argument
1404 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) fb_parse_edid() argument
1408 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) fb_edid_to_monspecs() argument
1495 unsigned char *edid = NULL; fb_firmware_edid() local
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dcec.h287 struct edid;
302 const struct edid *edid);
378 * @edid: pointer to the EDID data
386 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size,
414 const struct edid *edid) in cec_s_phys_addr_from_edid()
418 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, in cec_get_edid_phys_addr() argument
456 * @edid: the EDID
469 static inline unsigned int cec_get_edid_spa_location(const u8 *edid, in cec_get_edid_spa_location() argument
413 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) cec_s_phys_addr_from_edid() argument
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dcec.h311 struct edid;
326 const struct edid *edid);
402 * @edid: pointer to the EDID data
410 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size,
438 const struct edid *edid) in cec_s_phys_addr_from_edid()
442 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, in cec_get_edid_phys_addr() argument
480 * @edid: the EDID
493 static inline unsigned int cec_get_edid_spa_location(const u8 *edid, in cec_get_edid_spa_location() argument
437 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) cec_s_phys_addr_from_edid() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Doutput.c20 struct edid *edid = NULL; in tegra_output_connector_get_modes() local
33 if (output->edid) in tegra_output_connector_get_modes()
34 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL); in tegra_output_connector_get_modes()
36 edid = drm_get_edid(connector, output->ddc); in tegra_output_connector_get_modes()
38 cec_notifier_set_phys_addr_from_edid(output->cec, edid); in tegra_output_connector_get_modes()
39 drm_connector_update_edid_property(connector, edid); in tegra_output_connector_get_modes()
41 if (edid) { in tegra_output_connector_get_modes()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Doutput.c23 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()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
H A Dudl_connector.c53 drm_connector_update_edid_property(connector, udl_connector->edid); in udl_get_modes()
54 if (udl_connector->edid) in udl_get_modes()
55 return drm_add_edid_modes(connector, udl_connector->edid); in udl_get_modes()
81 /* cleanup previous edid */ in udl_detect()
82 if (udl_connector->edid != NULL) { in udl_detect()
83 kfree(udl_connector->edid); in udl_detect()
84 udl_connector->edid = NULL; in udl_detect()
87 udl_connector->edid = drm_do_get_edid(connector, udl_get_edid_block, udl); in udl_detect()
88 if (!udl_connector->edid) in udl_detect()
102 kfree(udl_connector->edid); in udl_connector_destroy()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dad9389b.c86 struct ad9389b_state_edid edid; member
343 struct ad9389b_state_edid *edid = &state->edid; in ad9389b_log_status() local
376 edid->segments ? "found" : "no", edid->blocks); in ad9389b_log_status()
664 static int ad9389b_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) in ad9389b_get_edid() argument
668 if (edid->pad != 0) in ad9389b_get_edid()
670 if (edid->blocks == 0 || edid->blocks > 256) in ad9389b_get_edid()
672 if (!state->edid in ad9389b_get_edid()
1071 struct ad9389b_state_edid *edid = &state->edid; ad9389b_init_setup() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dnxp-ptn3460.c94 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */ in ptn3460_select_edid()
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()
174 ret = ptn3460_read_bytes(ptn_bridge, PTN3460_EDID_ADDR, edid, in ptn3460_get_edid()
177 kfree(edid); in ptn3460_get_edid()
178 edid = NULL; in ptn3460_get_edid()
186 return (struct edid *)edid; in ptn3460_get_edid()
192 struct edid *edid; ptn3460_connector_get_modes() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dnxp-ptn3460.c94 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */ in ptn3460_select_edid()
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()
174 ret = ptn3460_read_bytes(ptn_bridge, PTN3460_EDID_ADDR, edid, in ptn3460_get_edid()
177 kfree(edid); in ptn3460_get_edid()
178 edid = NULL; in ptn3460_get_edid()
186 return (struct edid *)edid; in ptn3460_get_edid()
192 struct edid *edid; ptn3460_connector_get_modes() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/loongson/
H A Dloongson_connector.c57 struct edid *edid = NULL; in loongson_get_modes() local
68 edid = drm_get_edid(connector, adapter); in loongson_get_modes()
71 edid = kmalloc(EDID_LENGTH * 2, GFP_KERNEL); in loongson_get_modes()
72 memcpy(edid, lconnector->vbios_edid, EDID_LENGTH * 2); in loongson_get_modes()
75 if (edid) { in loongson_get_modes()
76 drm_connector_update_edid_property(connector, edid); in loongson_get_modes()
77 ret = drm_add_edid_modes(connector, edid); in loongson_get_modes()
78 kfree(edid); in loongson_get_modes()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c46 * Parse edid caps
48 * @edid: [in] pointer to edid
49 * edid_caps: [in] pointer to edid caps
55 const struct dc_edid *edid, in dm_helpers_parse_edid_caps()
58 struct edid *edid_buf = (struct edid *) edid->raw_edid; in dm_helpers_parse_edid_caps()
68 if (!edid_caps || !edid) in dm_helpers_parse_edid_caps()
98 (struct edid *) edi in dm_helpers_parse_edid_caps()
53 dm_helpers_parse_edid_caps( struct dc_context *ctx, const struct dc_edid *edid, struct dc_edid_caps *edid_caps) dm_helpers_parse_edid_caps() argument
561 struct edid *edid; dm_helpers_read_local_edid() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dedid.c51 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()
58 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte()
63 if (!edid->edid_available) { 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()
72 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte()
73 edid in edid_get_byte()
570 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; intel_vgpu_init_i2c_edid() local
[all...]

Completed in 25 milliseconds

12345678910>>...17