From: Aurabindo Pillai <aurabindo.pillai@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <harry.wentland@amd.com>, <sunpeng.li@amd.com>,
<rodrigo.siqueira@amd.com>, <aurabindo.pillai@amd.com>,
Pinninti <bpinnint@amd.com>,
Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Subject: [PATCH 04/13] drm/amd/display: Refactor HUBP into component folder.
Date: Thu, 23 May 2024 19:20:18 +0000 [thread overview]
Message-ID: <20240523192027.50630-4-aurabindo.pillai@amd.com> (raw)
In-Reply-To: <20240523192027.50630-1-aurabindo.pillai@amd.com>
From: Pinninti <bpinnint@amd.com>
[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>
---
drivers/gpu/drm/amd/display/dc/dcn401/Makefile | 1 -
drivers/gpu/drm/amd/display/dc/hubp/Makefile | 9 +++++++--
.../drm/amd/display/dc/{ => hubp}/dcn401/dcn401_hubp.c | 0
.../drm/amd/display/dc/{ => hubp}/dcn401/dcn401_hubp.h | 0
4 files changed, 7 insertions(+), 3 deletions(-)
rename drivers/gpu/drm/amd/display/dc/{ => hubp}/dcn401/dcn401_hubp.c (100%)
rename drivers/gpu/drm/amd/display/dc/{ => hubp}/dcn401/dcn401_hubp.h (100%)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn401/Makefile b/drivers/gpu/drm/amd/display/dc/dcn401/Makefile
index f3fdfa1fba37..2989e706bccf 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn401/Makefile
+++ b/drivers/gpu/drm/amd/display/dc/dcn401/Makefile
@@ -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))
diff --git a/drivers/gpu/drm/amd/display/dc/hubp/Makefile b/drivers/gpu/drm/amd/display/dc/hubp/Makefile
index a25a8b216e15..a2d1128de7a1 100644
--- a/drivers/gpu/drm/amd/display/dc/hubp/Makefile
+++ b/drivers/gpu/drm/amd/display/dc/hubp/Makefile
@@ -88,5 +88,10 @@ AMD_DISPLAY_FILES += $(AMD_DAL_HUBP_DCN35)
###############################################################################
-###############################################################################
-endif
\ No newline at end of file
+HUBP_DCN401 = dcn401_hubp.o
+
+AMD_DAL_HUBP_DCN401 = $(addprefix $(AMDDALPATH)/dc/hubp/dcn401/,$(HUBP_DCN401))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_HUBP_DCN401)
+
+endif
diff --git a/drivers/gpu/drm/amd/display/dc/dcn401/dcn401_hubp.c b/drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
similarity index 100%
rename from drivers/gpu/drm/amd/display/dc/dcn401/dcn401_hubp.c
rename to drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
diff --git a/drivers/gpu/drm/amd/display/dc/dcn401/dcn401_hubp.h b/drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.h
similarity index 100%
rename from drivers/gpu/drm/amd/display/dc/dcn401/dcn401_hubp.h
rename to drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.h
--
2.39.2
next prev parent reply other threads:[~2024-05-23 19:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 19:20 [PATCH 01/13] drm/amd/display: Fix incorrect cursor position for dcn401 Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 02/13] drm/amd/display: Enable ISHARP support for DCN401 Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 03/13] drm/amd/display: Remove unused code Aurabindo Pillai
2024-05-23 19:20 ` Aurabindo Pillai [this message]
2024-05-23 19:20 ` [PATCH 05/13] drm/amd/display: Update DML2.1 generated code Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 06/13] drm/amd/display: Remove unnecessary HPD entry for DCN401 Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 07/13] drm/amd/display: Use DCN 410 includes " Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 08/13] drm/amd/display: Remove incorrect FP context start Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 09/13] drm/amd/display: Fix null pointer dereference for dcn401 Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 10/13] drm/amd/display: Add missing registers for DCN401 Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 11/13] drm/amd/display: Move some init routines to dm_sw_init() Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 12/13] drm/amd/display: Add new GPINT command definitions Aurabindo Pillai
2024-05-23 19:20 ` [PATCH 13/13] drm/amd/display: Enable copying of bounding box data from VBIOS DMUB Aurabindo Pillai
2024-05-27 14:50 ` Harry Wentland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240523192027.50630-4-aurabindo.pillai@amd.com \
--to=aurabindo.pillai@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=bpinnint@amd.com \
--cc=harry.wentland@amd.com \
--cc=rodrigo.siqueira@amd.com \
--cc=sunpeng.li@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).