aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2023-12-11 14:51:22 -0500
committerAlex Deucher <[email protected]>2024-03-20 13:37:36 -0400
commitcaef6c453cf29b3ae619afd551cf3a0d333a3600 (patch)
tree813a610ad4021ab11c7843572d611da01ddf9fb9
parentdc406d92a097c669e6468ac4f694b4c927c47ab6 (diff)
drm/amd/display: Add DML2 folder to include path
Add DML2 compilation rule in the Makefile. Reviewed-by: Chaitanya Dhere <[email protected]> Acked-by: Alex Hung <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/Makefile b/drivers/gpu/drm/amd/display/dc/dml2/Makefile
index acff3449b8d7..1c9498a72520 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/Makefile
+++ b/drivers/gpu/drm/amd/display/dc/dml2/Makefile
@@ -67,6 +67,7 @@ frame_warn_flag := -Wframe-larger-than=2048
endif
endif
+subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2
CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_core.o := $(dml2_ccflags) $(frame_warn_flag)
CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_util.o := $(dml2_ccflags)
CFLAGS_$(AMDDALPATH)/dc/dml2/dml2_wrapper.o := $(dml2_ccflags)