]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove header from source file
authorMagali Lemes <magalilemes00@gmail.com>
Sat, 30 Jul 2022 01:07:00 +0000 (22:07 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2022 18:58:37 +0000 (14:58 -0400)
commitb01ee7ffaed7e4d0b929033050158485b3e219d1
tree884264d7bdf3381e404fd8d13f546034692f500d
parent915d97f2010767caf7aee51f38f3f50888c77a76
drm/amd/display: remove header from source file

Since "rn_clk_mgr.h" needs ‘struct clk_mgr_internal’ which is declared
in "clk_mgr_internal.h", include "clk_mgr_internal.h" in "rn_clk_mgr.h"
instead of in its source file.
Because of the change above, change the order of '#include
"rn_clk_mgr.h"', so that the necessary structs are visible to
dcn20_clk_mgr.h.

Signed-off-by: Magali Lemes <magalilemes00@gmail.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.h