diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-02-01 23:11:15 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-08 14:03:47 +0100 |
commit | 5d389afc1f8fea707225bc2ee64e00d85dab623a (patch) | |
tree | e47bae68760b0d7cf1942d22bf82020df7bdb5fc /include/acpi | |
parent | Linux 6.8-rc3 (diff) | |
download | linux-5d389afc1f8fea707225bc2ee64e00d85dab623a.tar.xz linux-5d389afc1f8fea707225bc2ee64e00d85dab623a.zip |
ACPI: video: Handle fetching EDID that is longer than 256 bytes
The ACPI specification allows for an EDID to be up to 512 bytes but
the _DDC EDID fetching code will only try up to 256 bytes.
Modify the code to instead start at 512 bytes and work it's way
down instead.
As _DDC is now called up to 4 times on a machine debugging messages
are noisier than necessary. Decrease from info to debug.
Link: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/Apx_B_Video_Extensions/output-device-specific-methods.html#ddc-return-the-edid-for-this-device
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
[ rjw: Type mismatch fix, minor whitespace adjustment ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions