Skip to content

Commit

Permalink
drm/amd/display: Refactor HUBP into component folder.
Browse files Browse the repository at this point in the history
[why]
cleaning up the code refactor requires hubp to be in its own component.

[how]
move all files under newly created hubp folder and fixing the makefiles.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Pinninti <bpinnint@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Pinninti authored and Alex Deucher committed May 29, 2024
1 parent ddef2cf commit 91b586c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn401/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

DCN401 += dcn401_dio_link_encoder.o
DCN401 += dcn401_dio_stream_encoder.o
DCN401 += dcn401_hubp.o
DCN401 += dcn401_mpc.o

AMD_DAL_DCN401 = $(addprefix $(AMDDALPATH)/dc/dcn401/,$(DCN401))
Expand Down
9 changes: 7 additions & 2 deletions drivers/gpu/drm/amd/display/dc/hubp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,10 @@ AMD_DISPLAY_FILES += $(AMD_DAL_HUBP_DCN35)

###############################################################################

###############################################################################
endif
HUBP_DCN401 = dcn401_hubp.o

AMD_DAL_HUBP_DCN401 = $(addprefix $(AMDDALPATH)/dc/hubp/dcn401/,$(HUBP_DCN401))

AMD_DISPLAY_FILES += $(AMD_DAL_HUBP_DCN401)

endif

0 comments on commit 91b586c

Please sign in to comment.