Commit 0cfdfebe authored by Bhuvana Chandra Pinninti's avatar Bhuvana Chandra Pinninti Committed by Alex Deucher
Browse files

drm/amd/display: Refactor HUBP into component folder.



[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: default avatarMartin Leung <martin.leung@amd.com>
Acked-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Signed-off-by: default avatarBhuvana Chandra Pinninti <bhuvanachandra.pinninti@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d1ae412d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/optc
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dpp
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubbub
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dccg
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubp
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/color
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#
# Makefile for Display Core (dc) component.

DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp hubbub dccg
DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp hubbub dccg hubp

ifdef CONFIG_DRM_AMD_DC_FP

+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
DCN10 = dcn10_ipp.o \
		dcn10_hw_sequencer_debug.o \
		dcn10_opp.o \
		dcn10_hubp.o dcn10_mpc.o \
		dcn10_mpc.o \
		dcn10_cm_common.o \
		dcn10_stream_encoder.o dcn10_link_encoder.o

+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
#include "ipp.h"
#include "mpc.h"
#include "reg_helper.h"
#include "dcn10_hubp.h"
#include "dcn10/dcn10_hubp.h"
#include "dcn10/dcn10_hubbub.h"
#include "dcn10_cm_common.h"
#include "clk_mgr.h"
+1 −2
Original line number Diff line number Diff line
# SPDX-License-Identifier: MIT
# Copyright © 2019-2024 Advanced Micro Devices, Inc. All rights reserved.

DCN20 = dcn20_hubp.o \
		dcn20_mpc.o dcn20_opp.o dcn20_mmhubbub.o \
DCN20 = dcn20_mpc.o dcn20_opp.o dcn20_mmhubbub.o \
		dcn20_stream_encoder.o dcn20_link_encoder.o \
		dcn20_vmid.o dcn20_dwb.o dcn20_dwb_scl.o

Loading