]> 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>
Fri, 27 Mar 2026 08:21:59 +0000 (16:21 +0800)
committerMario Limonciello (AMD) <superm1@kernel.org>
Tue, 31 Mar 2026 14:45:06 +0000 (09:45 -0500)
commitf263bcdcc05e99f26f7bb0b0ba860dccd60256dc
treea3c437ed7cbd069bf9f8422622c35f785bc66b0a
parent328815979c4a45e71410391d57cd7299c7c6d405
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>
Link: https://patch.msgid.link/20260327082342.1286878-3-chen-yu.chen@amd.com
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h