drm/amd/display: Eliminate recursive header inclusion
authorAlex Hung <alex.hung@amd.com>
Thu, 19 Sep 2024 02:45:51 +0000 (20:45 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:37:50 +0000 (17:37 -0400)
commit1a63bda8c9f5e17cd9eddcb981b0d8be554a82cb
tree0436e352a33c1b67784d9a075a53cbcfc0c3e2cb
parent63de35a8fcfca59ae8750d469a7eb220c7557baf
drm/amd/display: Eliminate recursive header inclusion

[WHAT & HOW]
This removes recursive inclusion like dc.h -> dc_state.h -> dc.h and
dc.h -> dc_plane.h -> dc.h

This fixes 4 PW.INCLUDE_RECURSION issues reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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/dc_plane.h
drivers/gpu/drm/amd/display/dc/dc_state.h