drm/amd/display: Increase EDID read retries
authorMario Limonciello (AMD) <superm1@kernel.org>
Thu, 6 Nov 2025 05:04:54 +0000 (23:04 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 17:32:05 +0000 (12:32 -0500)
commit8ea902361734c87b82122f9c17830f168ebfc65a
tree5ee27d532cb007e45f9ba393e3fb86449f4b7242
parent81f4d4ba509522596143fd5d7dc2fc3495296b0a
drm/amd/display: Increase EDID read retries

[WHY]
When monitor is still booting EDID read can fail while DPCD read
is successful.  In this case no EDID data will be returned, and this
could happen for a while.

[HOW]
Increase number of attempts to read EDID in dm_helpers_read_local_edid()
to 25.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4672
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit a76d6f2c76c3abac519ba753e2723e6ffe8e461c)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c