]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Detect panel type from VSDB
authorMario Limonciello (AMD) <superm1@kernel.org>
Tue, 6 Jan 2026 03:52:48 +0000 (21:52 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:19:28 +0000 (17:19 -0500)
commit0a62732e53d7e295e1733a2d9bf661e593d86675
tree13dfa261c28764bceeb37772129504adfa28c3e4
parent8cee62904caf95e5698fa0f2d420f5f22b4dea15
drm/amd/display: Detect panel type from VSDB

[Why]
The AMD VSDB contains two bits that indicate the type of panel connected.
This can be useful for policy decisions based upon panel technology.

[How]
Read the bits for the panel type when parsing VSDB and store them in
the dc_link.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
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
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_types.h