search for: bios_hardcoded_edid

Displaying 3 results from an estimated 3 matches for "bios_hardcoded_edid".

2020 Jul 27
1
[PATCH 4/4] radeon: fall back to ACPI EDID retrieval
...rivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -401,9 +401,8 @@ bool radeon_combios_check_hardcoded_edid(struct radeon_device *rdev) struct edid * radeon_bios_get_hardcoded_edid(struct radeon_device *rdev) { - struct edid *edid; - if (rdev->mode_info.bios_hardcoded_edid) { + struct edid *edid; edid = kmalloc(rdev->mode_info.bios_hardcoded_edid_size, GFP_KERNEL); if (edid) { memcpy((unsigned char *)edid, @@ -412,7 +411,8 @@ radeon_bios_get_hardcoded_edid(struct radeon_device *rdev) return edid; } } - return NULL; + + return drm_get_edid_acpi(...
2020 Jul 28
0
[PATCH 4/4] radeon: fall back to ACPI EDID retrieval
...+++ b/drivers/gpu/drm/radeon/radeon_combios.c > @@ -401,9 +401,8 @@ bool radeon_combios_check_hardcoded_edid(struct radeon_device *rdev) > struct edid * > radeon_bios_get_hardcoded_edid(struct radeon_device *rdev) > { > - struct edid *edid; > - > if (rdev->mode_info.bios_hardcoded_edid) { > + struct edid *edid; That's an unrelated an incorrect style change. You need a blank line after declaration. > edid = kmalloc(rdev->mode_info.bios_hardcoded_edid_size, GFP_KERNEL); > if (edid) { > memcpy((unsigned char *)edid, > @@ -412,7 +411,8 @@ radeon...
2020 Jul 27
6
[PATCH 0/4] drm: add support for retrieving EDID via ACPI _DDC
Some notebook systems provide the EDID for the internal panel via the _DDC method in ACPI, instead of or in addition to providing the EDID via DDC on LVDS/eDP. Add a DRM helper to search for an ACP _DDC method under the ACPI namespace for each VGA/3D controller, and return the first EDID successfully retrieved via _DDC. Update the i915, nouveau, and radeon DRM-KMS drivers to fall back to