Changes between Version 19 and Version 20 of linux/media
- Timestamp:
- 01/06/2021 07:49:15 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/media
v19 v20 597 597 [=#edid] 598 598 == EDID 599 600 === Display Devices (HDMI sink) 601 In order to understand details about your display you can use the following: 602 {{{#!bash 603 # show kernel command-line to see what video params were passed 604 cat /proc/cmdline 605 # show HDMI monitor supported resolutions 606 cat /sys/class/drm/card1-HDMI-A-1/modes 607 # show current mode 608 cat /sys/class/graphics/fb0/modes 609 # read/parse EDID 610 get-edid | parse-edid 611 }}} 612 613 === Capture Devices (HDMI source) 599 614 HDMI sources require an EDID from the HDMI sink (ie monitor/capture device) to know what formats are allowed. This is done on v4l2 capture devices such as the tda1997x by using the 'v4l2-ctl --set-edid' on the subdev for the capture device. The capture device will then provide this to the HDMI source (it wiggles its HPD line which is the equivalent of a hotplug) and then the HDMI source will provide the sink (capture device) with something compatible which you can then query. You can provide either a raw EDID binary file or a type which will cause the kernel to auto-generate a compatible EDID from. 600 615