]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 31 Jul 2025 09:43:48 +0000 (11:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:26:13 +0000 (16:26 +0200)
commitcedb7dcf620c363d4727f195155026a14e2c2221
treeaec8de3a882a9621053cd8e9761bd7978e242190
parentbad3cf7fd2bfd250b881b260dc5d01a930bb85e6
drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs

commit 669f73a26f6112eedbadac53a2f2707ac6d0b9c8 upstream.

dce110_fill_display_configs is shared between DCE 6-11, and
finding the first CRTC and its line time is relevant to DCE 6 too.
Move the code to find it from DCE 11 specific code.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 4ab09785f8d5d03df052827af073d5c508ff5f63)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c