Commit f5996677 authored by Magali Lemes's avatar Magali Lemes Committed by Alex Deucher

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: default avatarMagali Lemes <magalilemes00@gmail.com>
Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: default avatarMaíra Canal <mairacanal@riseup.net>
Reviewed-by: default avatarMelissa Wen <mwen@igalia.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c83b9d60
...@@ -24,10 +24,9 @@ ...@@ -24,10 +24,9 @@
*/ */
#include "dccg.h" #include "dccg.h"
#include "clk_mgr_internal.h" #include "rn_clk_mgr.h"
#include "dcn20/dcn20_clk_mgr.h" #include "dcn20/dcn20_clk_mgr.h"
#include "rn_clk_mgr.h"
#include "dml/dcn20/dcn20_fpu.h" #include "dml/dcn20/dcn20_fpu.h"
#include "dce100/dce_clk_mgr.h" #include "dce100/dce_clk_mgr.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "clk_mgr.h" #include "clk_mgr.h"
#include "dm_pp_smu.h" #include "dm_pp_smu.h"
#include "clk_mgr_internal.h"
extern struct wm_table ddr4_wm_table_gs; extern struct wm_table ddr4_wm_table_gs;
extern struct wm_table lpddr4_wm_table_gs; extern struct wm_table lpddr4_wm_table_gs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment