Makefile 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # Copyright 2022 Advanced Micro Devices, Inc.
  2. #
  3. # Permission is hereby granted, free of charge, to any person obtaining a
  4. # copy of this software and associated documentation files (the "Software"),
  5. # to deal in the Software without restriction, including without limitation
  6. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7. # and/or sell copies of the Software, and to permit persons to whom the
  8. # Software is furnished to do so, subject to the following conditions:
  9. #
  10. # The above copyright notice and this permission notice shall be included in
  11. # all copies or substantial portions of the Software.
  12. #
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  16. # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. # OTHER DEALINGS IN THE SOFTWARE.
  20. #
  21. # Makefile for the 'dccg' sub-component of DAL.
  22. #
  23. ifdef CONFIG_DRM_AMD_DC_FP
  24. ###############################################################################
  25. # DCN
  26. ###############################################################################
  27. DCCG_DCN20 = dcn20_dccg.o
  28. AMD_DAL_DCCG_DCN20 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn20/,$(DCCG_DCN20))
  29. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN20)
  30. ###############################################################################
  31. DCCG_DCN201 = dcn201_dccg.o
  32. AMD_DAL_DCCG_DCN201 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn201/,$(DCCG_DCN201))
  33. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN201)
  34. ###############################################################################
  35. DCCG_DCN21 = dcn21_dccg.o
  36. AMD_DAL_DCCG_DCN21 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn21/,$(DCCG_DCN21))
  37. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN21)
  38. ###############################################################################
  39. DCCG_DCN30 = dcn30_dccg.o
  40. AMD_DAL_DCCG_DCN30 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn30/,$(DCCG_DCN30))
  41. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN30)
  42. ###############################################################################
  43. DCCG_DCN301 = dcn301_dccg.o
  44. AMD_DAL_DCCG_DCN301 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn301/,$(DCCG_DCN301))
  45. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN301)
  46. ###############################################################################
  47. DCCG_DCN31 = dcn31_dccg.o
  48. AMD_DAL_DCCG_DCN31 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn31/,$(DCCG_DCN31))
  49. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN31)
  50. ###############################################################################
  51. DCCG_DCN314 = dcn314_dccg.o
  52. AMD_DAL_DCCG_DCN314 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn314/,$(DCCG_DCN314))
  53. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN314)
  54. ###############################################################################
  55. DCCG_DCN32 = dcn32_dccg.o
  56. AMD_DAL_DCCG_DCN32 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn32/,$(DCCG_DCN32))
  57. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN32)
  58. ###############################################################################
  59. DCCG_DCN35 = dcn35_dccg.o
  60. AMD_DAL_DCCG_DCN35 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn35/,$(DCCG_DCN35))
  61. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN35)
  62. ###############################################################################
  63. DCCG_DCN401 = dcn401_dccg.o
  64. AMD_DAL_DCCG_DCN401 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn401/,$(DCCG_DCN401))
  65. AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN401)
  66. endif