]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Share dce100_validate_bandwidth with DCE6-8
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 24 Sep 2025 11:38:35 +0000 (13:38 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Sep 2025 19:53:33 +0000 (15:53 -0400)
commitee352f6c56e1775b192f2d39ad45362148e1fd16
tree8df7d54d7f4aa5d6daabe7049ab97c06ff5b4f16
parentb8ae2640f9acd4f411c9227d2493755d03fe440a
drm/amd/display: Share dce100_validate_bandwidth with DCE6-8

DCE6-8 have very similar capabilities to DCE10, they support the
same DP and HDMI versions and work similarly.

Share dce100_validate_bandwidth between DCE6-10 to reduce code
duplication in the DC driver.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.h
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce80/dce80_resource.c