]> Gentwo Git Trees - linux/.git/commit
drm/amd: Add name to modes from amdgpu_connector_add_common_modes()
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 24 Sep 2025 16:16:24 +0000 (11:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Sep 2025 19:54:22 +0000 (15:54 -0400)
commitdf2ba5709416ac6ce8dab1d141fc246b79549e78
treefa049bb82bbd75f1b609803d62c0166fa7680cc7
parent6d622755bc9774a1edcb85325951f4c4a8ba9a55
drm/amd: Add name to modes from amdgpu_connector_add_common_modes()

[Why]
When DC adds common modes it adds modes with a string to match what
they are. Non-DC doesn't. This can be inconsistent when turning on/off
DC support.

[How]
Add a name member to common_modes[] and copy it into the drm display
mode.

Cc: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Link: https://lore.kernel.org/r/20250924161624.1975819-6-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c