]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Correct dram channel width for dcn314
authorDuncan Ma <duncan.ma@amd.com>
Wed, 24 Aug 2022 18:35:03 +0000 (14:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:00 +0000 (14:33 -0400)
commitd7533f376e05fcacd55ec15d29d3c8d2955996e5
treefce974ed325ffbeba4c201acb2f85e5b6469f979
parent2abbd076a7f5314a2a87229881f5ec4f0c53e6c4
drm/amd/display: Correct dram channel width for dcn314

[Why]
The interpretation of the number of memory channels
differ by memory type, and this affects channel width
for the DML input.

[How]
Set dram channel width according to memory type for
dcn314.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Duncan Ma <duncan.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h