]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Share dce100_validate_global with DCE6-8
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 24 Sep 2025 11:38:36 +0000 (13:38 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Sep 2025 19:53:46 +0000 (15:53 -0400)
commit1f721ebcf312df88c6da6457e0ff21c33613f73c
treeb7819fc26a44ac2891844c33f072e4d415c16f79
parentee352f6c56e1775b192f2d39ad45362148e1fd16
drm/amd/display: Share dce100_validate_global with DCE6-8

The dce100_validate_global function was verbatim exactly the
same as dce60_validate_global and dce80_validate_global.

Share dce100_validate_global between DCE6-10 to save code size.

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