]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add SMU interface to get UMC count for dcn401
authorDillon Varone <dillon.varone@amd.com>
Thu, 12 Dec 2024 22:01:34 +0000 (17:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2025 17:04:43 +0000 (12:04 -0500)
commit3ea943991d09a8d5cdddec5356d2694bd8060f69
treec0bafc39f1c23698e41d47a795140f239349ffd8
parente2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7
drm/amd/display: Add SMU interface to get UMC count for dcn401

[WHY&HOW]
BIOS table will not always contain accurate UMC channel info when
harvesting is enabled, so get the correct info from SMU.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dalsmc.h
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr_smu_msg.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr_smu_msg.h
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c