[Why]
DC and non-DC codepaths have different sets of common modes that are
added for eDP and LVDS cases. This can cause different behaviors for
turning on DC on hardware that can support both.
[How]
Drop extra modes from amdgpu_connector_add_common_modes() not present
in amdgpu_dm_connector_add_common_modes().
Cc: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250924161624.1975819-5-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
int h;
} common_modes[] = {
{ 640, 480},
- { 720, 480},
{ 800, 600},
- { 848, 480},
{1024, 768},
- {1152, 768},
{1280, 720},
{1280, 800},
- {1280, 854},
- {1280, 960},
{1280, 1024},
{1440, 900},
- {1400, 1050},
{1680, 1050},
{1600, 1200},
{1920, 1080},