From: Alex Hung <alex.hung@amd.com>
To: amd-gfx@lists.freedesktop.org
Cc: alexander.deucher@amd.com, harry.wentland@amd.com
Subject: Re: [PATCH 01/18] drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC
Date: Tue, 5 Sep 2023 12:46:53 -0600 [thread overview]
Message-ID: <0e06b822-cecf-2f2d-d2e6-da739ae479e9@amd.com> (raw)
In-Reply-To: <20230816212626.987519-2-alex.hung@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
On 2023-08-16 15:26, Alex Hung wrote:
> From: Harry Wentland <harry.wentland@amd.com>
>
> [WHY]
> Previously this only excluded build for a few amdgpu_dm
> binaries which makes no sense.
>
> [HOW]
> Wrap the entire Makefile in "ifneq ($(CONFIG_DRM_AMD_DC),)"
>
> Signed-off-by: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Alex Hung <alex.hung@amd.com>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/Makefile | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/Makefile b/drivers/gpu/drm/amd/display/amdgpu_dm/Makefile
> index 8bf94920d23e..063205ecb137 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/Makefile
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/Makefile
> @@ -25,22 +25,24 @@
>
>
>
> +ifneq ($(CONFIG_DRM_AMD_DC),)
> AMDGPUDM = \
> amdgpu_dm.o \
> amdgpu_dm_plane.o \
> amdgpu_dm_crtc.o \
> amdgpu_dm_irq.o \
> amdgpu_dm_mst_types.o \
> - amdgpu_dm_color.o
> + amdgpu_dm_color.o \
> + amdgpu_dm_services.o \
> + amdgpu_dm_helpers.o \
> + amdgpu_dm_pp_smu.o \
> + amdgpu_dm_psr.o \
> + amdgpu_dm_replay.o
>
> ifdef CONFIG_DRM_AMD_DC_FP
> AMDGPUDM += dc_fpu.o
> endif
>
> -ifneq ($(CONFIG_DRM_AMD_DC),)
> -AMDGPUDM += amdgpu_dm_services.o amdgpu_dm_helpers.o amdgpu_dm_pp_smu.o amdgpu_dm_psr.o amdgpu_dm_replay.o
> -endif
> -
> AMDGPUDM += amdgpu_dm_hdcp.o
>
> ifneq ($(CONFIG_DEBUG_FS),)
> @@ -52,3 +54,4 @@ subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc
> AMDGPU_DM = $(addprefix $(AMDDALPATH)/amdgpu_dm/,$(AMDGPUDM))
>
> AMD_DISPLAY_FILES += $(AMDGPU_DM)
> +endif
next prev parent reply other threads:[~2023-09-05 18:47 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-16 21:26 [PATCH 00/18] drm/amd/display: Enable writeback for amdgpu Alex Hung
2023-08-16 21:26 ` [PATCH 01/18] drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC Alex Hung
2023-09-05 18:46 ` Alex Hung [this message]
2023-08-16 21:26 ` [PATCH 02/18] drm/amd/display: Create one virtual connector in DC Alex Hung
2023-08-17 13:58 ` Alex Deucher
2023-08-17 14:07 ` Harry Wentland
2023-09-05 18:47 ` Alex Hung
2023-08-16 21:26 ` [PATCH 03/18] drm/amd/display: Initialize writeback connector Alex Hung
2023-08-16 21:26 ` [PATCH 04/18] drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector Alex Hung
2023-09-05 18:47 ` Alex Hung
2023-08-16 21:26 ` [PATCH 05/18] drm/amd/display: Return drm_connector from find_first_crtc_matching_connector Alex Hung
2023-09-05 18:47 ` Alex Hung
2023-08-16 21:26 ` [PATCH 06/18] drm/amd/display: Use drm_connector in create_stream_for_sink Alex Hung
2023-09-05 18:48 ` Alex Hung
2023-08-16 21:26 ` [PATCH 07/18] drm/amd/display: Use drm_connector in create_validate_stream_for_sink Alex Hung
2023-09-05 18:48 ` Alex Hung
2023-08-16 21:26 ` [PATCH 08/18] drm/amd/display: Create amdgpu_dm_wb_connector Alex Hung
2023-09-05 18:48 ` Alex Hung
2023-08-16 21:26 ` [PATCH 09/18] drm/amd/display: Create fake sink and stream for writeback connector Alex Hung
2023-09-05 18:48 ` Alex Hung
2023-08-16 21:26 ` [PATCH 10/18] drm/amd/display: Hande writeback request from userspace Alex Hung
2023-08-16 21:26 ` [PATCH 11/18] drm/amd/display: Add writeback enable/disable in dc Alex Hung
2023-08-16 21:26 ` [PATCH 12/18] drm/amd/display: Fix writeback_info never got updated Alex Hung
2023-08-16 21:26 ` [PATCH 13/18] drm/amd/display: Validate hw_points_num before using it Alex Hung
2023-08-16 21:26 ` [PATCH 14/18] drm/amd/display: Fix writeback_info is not removed Alex Hung
2023-08-16 21:26 ` [PATCH 15/18] drm/amd/display: Add writeback enable field (wb_enabled) Alex Hung
2023-08-16 21:26 ` [PATCH 16/18] drm/amd/display: Setup for mmhubbub3_warmup_mcif with big buffer Alex Hung
2023-08-16 21:26 ` [PATCH 17/18] drm/amd/display: Add new set_fc_enable to struct dwbc_funcs Alex Hung
2023-08-16 21:26 ` [PATCH 18/18] drm/amd/display: Disable DWB frame capture to emulate oneshot Alex Hung
2023-09-05 14:20 ` [PATCH 00/18] drm/amd/display: Enable writeback for amdgpu Harry Wentland
2023-09-05 18:50 ` Alex Hung
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=0e06b822-cecf-2f2d-d2e6-da739ae479e9@amd.com \
--to=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=harry.wentland@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