Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Refactor DCN3X into component folder

[why]
Move DCN3X files to unique component folder.

[how]
Create respective component folder in dc, move the DCN3X files into
corresponding new folders and made appropriate changes for compilation
in Makefiles.

Reviewed-by: Martin Leung <martin.leung@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Mounika Adhuri <moadhuri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mounika Adhuri and committed by
Alex Deucher
2d62bb45 3838c673

+304 -61
+7
drivers/gpu/drm/amd/display/Makefile
··· 37 37 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubbub 38 38 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dccg 39 39 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubp 40 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dio 41 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dwb 42 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hpo 43 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/mmhubbub 44 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/mpc 45 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/opp 46 + subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/pg 40 47 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc 41 48 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync 42 49 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/color
+1 -5
drivers/gpu/drm/amd/display/dc/Makefile
··· 22 22 # 23 23 # Makefile for Display Core (dc) component. 24 24 25 - DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp hubbub dccg hubp 25 + DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp hubbub dccg hubp dio dwb hpo mmhubbub mpc opp pg 26 26 27 27 ifdef CONFIG_DRM_AMD_DC_FP 28 28 ··· 36 36 DC_LIBS += dcn301 37 37 DC_LIBS += dcn31 38 38 DC_LIBS += dcn314 39 - DC_LIBS += dcn32 40 - DC_LIBS += dcn321 41 - DC_LIBS += dcn35 42 - DC_LIBS += dcn401 43 39 DC_LIBS += dml 44 40 DC_LIBS += dml2 45 41 endif
-19
drivers/gpu/drm/amd/display/dc/dcn32/Makefile
··· 1 - # 2 - # (c) Copyright 2022 Advanced Micro Devices, Inc. All the rights reserved 3 - # 4 - # All rights reserved. This notice is intended as a precaution against 5 - # inadvertent publication and does not imply publication or any waiver 6 - # of confidentiality. The year included in the foregoing notice is the 7 - # year of creation of the work. 8 - # 9 - # Authors: AMD 10 - # 11 - # Makefile for dcn32. 12 - 13 - DCN32 = dcn32_mmhubbub.o dcn32_mpc.o \ 14 - dcn32_dio_stream_encoder.o dcn32_dio_link_encoder.o dcn32_resource_helpers.o \ 15 - dcn32_hpo_dp_link_encoder.o 16 - 17 - AMD_DAL_DCN32 = $(addprefix $(AMDDALPATH)/dc/dcn32/,$(DCN32)) 18 - 19 - AMD_DISPLAY_FILES += $(AMD_DAL_DCN32)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c drivers/gpu/drm/amd/display/dc/dio/dcn32/dcn32_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.h drivers/gpu/drm/amd/display/dc/dio/dcn32/dcn32_dio_stream_encoder.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/dcn32_mmhubbub.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.h drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/dcn32_mmhubbub.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c drivers/gpu/drm/amd/display/dc/mpc/dcn32/dcn32_mpc.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h drivers/gpu/drm/amd/display/dc/mpc/dcn32/dcn32_mpc.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
-17
drivers/gpu/drm/amd/display/dc/dcn321/Makefile
··· 1 - # 2 - # (c) Copyright 2020 Advanced Micro Devices, Inc. All the rights reserved 3 - # 4 - # All rights reserved. This notice is intended as a precaution against 5 - # inadvertent publication and does not imply publication or any waiver 6 - # of confidentiality. The year included in the foregoing notice is the 7 - # year of creation of the work. 8 - # 9 - # Authors: AMD 10 - # 11 - # Makefile for dcn321. 12 - 13 - DCN321 = dcn321_dio_link_encoder.o 14 - 15 - AMD_DAL_DCN321 = $(addprefix $(AMDDALPATH)/dc/dcn321/,$(DCN321)) 16 - 17 - AMD_DISPLAY_FILES += $(AMD_DAL_DCN321)
-19
drivers/gpu/drm/amd/display/dc/dcn35/Makefile
··· 1 - # 2 - # (c) Copyright 2022 Advanced Micro Devices, Inc. All the rights reserved 3 - # 4 - # All rights reserved. This notice is intended as a precaution against 5 - # inadvertent publication and does not imply publication or any waiver 6 - # of confidentiality. The year included in the foregoing notice is the 7 - # year of creation of the work. 8 - # 9 - # Authors: AMD 10 - # 11 - # Makefile for DCN35. 12 - 13 - DCN35 = dcn35_dio_stream_encoder.o \ 14 - dcn35_dio_link_encoder.o \ 15 - dcn35_mmhubbub.o dcn35_opp.o dcn35_pg_cntl.o dcn35_dwb.o 16 - 17 - AMD_DAL_DCN35 = $(addprefix $(AMDDALPATH)/dc/dcn35/,$(DCN35)) 18 - 19 - AMD_DISPLAY_FILES += $(AMD_DAL_DCN35)
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dio_stream_encoder.c drivers/gpu/drm/amd/display/dc/dio/dcn35/dcn35_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dio_stream_encoder.h drivers/gpu/drm/amd/display/dc/dio/dcn35/dcn35_dio_stream_encoder.h
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dwb.c drivers/gpu/drm/amd/display/dc/dwb/dcn35/dcn35_dwb.c
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dwb.h drivers/gpu/drm/amd/display/dc/dwb/dcn35/dcn35_dwb.h
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_mmhubbub.c drivers/gpu/drm/amd/display/dc/mmhubbub/dcn35/dcn35_mmhubbub.c
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_mmhubbub.h drivers/gpu/drm/amd/display/dc/mmhubbub/dcn35/dcn35_mmhubbub.h
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_opp.c drivers/gpu/drm/amd/display/dc/opp/dcn35/dcn35_opp.c
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_opp.h drivers/gpu/drm/amd/display/dc/opp/dcn35/dcn35_opp.h
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c drivers/gpu/drm/amd/display/dc/pg/dcn35/dcn35_pg_cntl.c
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.h drivers/gpu/drm/amd/display/dc/pg/dcn35/dcn35_pg_cntl.h
drivers/gpu/drm/amd/display/dc/dcn401/dcn401_dio_stream_encoder.c drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn401/dcn401_dio_stream_encoder.h drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.h
drivers/gpu/drm/amd/display/dc/dcn401/dcn401_mpc.c drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c
drivers/gpu/drm/amd/display/dc/dcn401/dcn401_mpc.h drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.h
+63
drivers/gpu/drm/amd/display/dc/dio/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN32 29 + ############################################################################### 30 + DIO_DCN32 = dcn32_dio_link_encoder.o dcn32_dio_stream_encoder.o 31 + 32 + AMD_DAL_DIO_DCN32 = $(addprefix $(AMDDALPATH)/dc/dio/dcn32/,$(DIO_DCN32)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN32) 35 + 36 + ############################################################################### 37 + # DCN35 38 + ############################################################################### 39 + DIO_DCN35 = dcn35_dio_link_encoder.o dcn35_dio_stream_encoder.o 40 + 41 + AMD_DAL_DIO_DCN35 = $(addprefix $(AMDDALPATH)/dc/dio/dcn35/,$(DIO_DCN35)) 42 + 43 + AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN35) 44 + 45 + ############################################################################### 46 + # DCN321 47 + ############################################################################### 48 + DIO_DCN321 = dcn321_dio_link_encoder.o 49 + 50 + AMD_DAL_DIO_DCN321 = $(addprefix $(AMDDALPATH)/dc/dio/dcn321/,$(DIO_DCN321)) 51 + 52 + AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN321) 53 + 54 + 55 + ############################################################################### 56 + # DCN401 57 + ############################################################################### 58 + DIO_DCN401 = dcn401_dio_link_encoder.o dcn401_dio_stream_encoder.o 59 + 60 + AMD_DAL_DIO_DCN401 = $(addprefix $(AMDDALPATH)/dc/dio/dcn401/,$(DIO_DCN401)) 61 + 62 + AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN401) 63 + endif
+37
drivers/gpu/drm/amd/display/dc/dwb/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN35 29 + ############################################################################### 30 + DWB_DCN35 = dcn35_dwb.o 31 + 32 + AMD_DAL_DWB_DCN35 = $(addprefix $(AMDDALPATH)/dc/dwb/dcn35/,$(DWB_DCN35)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_DWB_DCN35) 35 + 36 + 37 + endif
+35
drivers/gpu/drm/amd/display/dc/hpo/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN32 29 + ############################################################################### 30 + HPO_DCN32 = dcn32_hpo_dp_link_encoder.o 31 + 32 + AMD_DAL_HPO_DCN32 = $(addprefix $(AMDDALPATH)/dc/hpo/dcn32/,$(HPO_DCN32)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_HPO_DCN32) 35 + endif
+45
drivers/gpu/drm/amd/display/dc/mmhubbub/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN32 29 + ############################################################################### 30 + MMHUBBUB_DCN32 = dcn32_mmhubbub.o 31 + 32 + AMD_DAL_MMHUBBUB_DCN32 = $(addprefix $(AMDDALPATH)/dc/mmhubbub/dcn32/,$(MMHUBBUB_DCN32)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_MMHUBBUB_DCN32) 35 + 36 + ############################################################################### 37 + # DCN35 38 + ############################################################################### 39 + MMHUBBUB_DCN35 = dcn35_mmhubbub.o 40 + 41 + AMD_DAL_MMHUBBUB_DCN35 = $(addprefix $(AMDDALPATH)/dc/mmhubbub/dcn35/,$(MMHUBBUB_DCN35)) 42 + 43 + AMD_DISPLAY_FILES += $(AMD_DAL_MMHUBBUB_DCN35) 44 + 45 + endif
+45
drivers/gpu/drm/amd/display/dc/mpc/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN32 29 + ############################################################################### 30 + MPC_DCN32 = dcn32_mpc.o 31 + 32 + AMD_DAL_MPC_DCN32 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn32/,$(MPC_DCN32)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN32) 35 + 36 + ############################################################################### 37 + # DCN401 38 + ############################################################################### 39 + MPC_DCN401 = dcn401_mpc.o 40 + 41 + AMD_DAL_MPC_DCN401 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn401/,$(MPC_DCN401)) 42 + 43 + AMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN401) 44 + 45 + endif
+35
drivers/gpu/drm/amd/display/dc/opp/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN35 29 + ############################################################################### 30 + OPP_DCN35 = dcn35_opp.o 31 + 32 + AMD_DAL_OPP_DCN35 = $(addprefix $(AMDDALPATH)/dc/opp/dcn35/,$(OPP_DCN35)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_OPP_DCN35) 35 + endif
+35
drivers/gpu/drm/amd/display/dc/pg/Makefile
··· 1 + # 2 + # Copyright 2020 Advanced Micro Devices, Inc. 3 + # 4 + # Permission is hereby granted, free of charge, to any person obtaining a 5 + # copy of this software and associated documentation files (the "Software"), 6 + # to deal in the Software without restriction, including without limitation 7 + # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 + # and/or sell copies of the Software, and to permit persons to whom the 9 + # Software is furnished to do so, subject to the following conditions: 10 + # 11 + # The above copyright notice and this permission notice shall be included in 12 + # all copies or substantial portions of the Software. 13 + # 14 + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + # OTHER DEALINGS IN THE SOFTWARE. 21 + # 22 + # Authors: AMD 23 + # 24 + # 25 + 26 + ifdef CONFIG_DRM_AMD_DC_FP 27 + ############################################################################### 28 + # DCN35 29 + ############################################################################### 30 + PG_DCN35 = dcn35_pg_cntl.o 31 + 32 + AMD_DAL_PG_DCN35 = $(addprefix $(AMDDALPATH)/dc/pg/dcn35/,$(PG_DCN35)) 33 + 34 + AMD_DISPLAY_FILES += $(AMD_DAL_PG_DCN35) 35 + endif
+1 -1
drivers/gpu/drm/amd/display/dc/resource/Makefile
··· 166 166 167 167 ############################################################################### 168 168 169 - RESOURCE_DCN32 = dcn32_resource.o 169 + RESOURCE_DCN32 = dcn32_resource.o dcn32_resource_helpers.o 170 170 171 171 AMD_DAL_RESOURCE_DCN32 = $(addprefix $(AMDDALPATH)/dc/resource/dcn32/,$(RESOURCE_DCN32)) 172 172