]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: move bw calc code into helpers
authorEric Yang <Eric.Yang2@amd.com>
Wed, 22 May 2019 18:24:40 +0000 (14:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:08 +0000 (14:18 -0500)
commit28dc738a86d7b33be2ec29d6231f2d201b42a426
tree9dd1a3b844e8ad0e27376285a987431192e48cc0
parentff2de03be5411bd47f4ea992b94e4115e153e428
drm/amd/display: move bw calc code into helpers

[Why]
For better readability and reusability

[How]
Move snippets of BW calculation code into helpers.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Fatemeh Darbehani <Fatemeh.Darbehani@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h