diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2025-09-24 11:16:23 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-25 15:54:12 -0400 |
| commit | 6d622755bc9774a1edcb85325951f4c4a8ba9a55 (patch) | |
| tree | be5371ca741e3f84c758a5af1a29ba00471645c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
| parent | dbf2341569dfbc61ff34c32de988bc058d0644d9 (diff) | |
drm/amd: Drop some common modes from amdgpu_connector_add_common_modes()
[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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c index 5e2831ba9730..0ab22b919da5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c @@ -404,18 +404,12 @@ static void amdgpu_connector_add_common_modes(struct drm_encoder *encoder, 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}, |