]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Use drm_display_info for AMD VSDB data
authorChenyu Chen <chen-yu.chen@amd.com>
Tue, 31 Mar 2026 03:15:02 +0000 (11:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:46:07 +0000 (13:46 -0400)
commitbf3fc94cd72abe6fc6cd88691fa98f817f4cd6db
tree770fb6a7dbb78e1987d8c01cb7896e111ca5fc51
parent118362a96286367b04b31cebb25c6ca3601644a4
drm/amd/display: Use drm_display_info for AMD VSDB data

Replace the raw EDID byte-walking in parse_amd_vsdb() with a read
from connector->display_info.amd_vsdb, now populated by drm_edid.

Factor out panel type determination into dm_set_panel_type(), which
checks VSDB panel_type, DPCD ext caps, and a luminance heuristic as
fallbacks.

Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h