Makefile 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 'optc' sub-component of DAL.
  22. #
  23. ifdef CONFIG_DRM_AMD_DC_FP
  24. ###############################################################################
  25. # DCN
  26. ###############################################################################
  27. OPTC_DCN10 = dcn10_optc.o
  28. AMD_DAL_OPTC_DCN10 = $(addprefix $(AMDDALPATH)/dc/optc/dcn10/,$(OPTC_DCN10))
  29. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN10)
  30. ###############################################################################
  31. OPTC_DCN20 = dcn20_optc.o
  32. AMD_DAL_OPTC_DCN20 = $(addprefix $(AMDDALPATH)/dc/optc/dcn20/,$(OPTC_DCN20))
  33. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN20)
  34. ###############################################################################
  35. OPTC_DCN201 = dcn201_optc.o
  36. AMD_DAL_OPTC_DCN201 = $(addprefix $(AMDDALPATH)/dc/optc/dcn201/,$(OPTC_DCN201))
  37. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN201)
  38. ###############################################################################
  39. ###############################################################################
  40. ###############################################################################
  41. OPTC_DCN30 = dcn30_optc.o
  42. AMD_DAL_OPTC_DCN30 = $(addprefix $(AMDDALPATH)/dc/optc/dcn30/,$(OPTC_DCN30))
  43. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN30)
  44. ###############################################################################
  45. OPTC_DCN301 = dcn301_optc.o
  46. AMD_DAL_OPTC_DCN301 = $(addprefix $(AMDDALPATH)/dc/optc/dcn301/,$(OPTC_DCN301))
  47. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN301)
  48. ###############################################################################
  49. OPTC_DCN31 = dcn31_optc.o
  50. AMD_DAL_OPTC_DCN31 = $(addprefix $(AMDDALPATH)/dc/optc/dcn31/,$(OPTC_DCN31))
  51. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN31)
  52. ###############################################################################
  53. OPTC_DCN314 = dcn314_optc.o
  54. AMD_DAL_OPTC_DCN314 = $(addprefix $(AMDDALPATH)/dc/optc/dcn314/,$(OPTC_DCN314))
  55. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN314)
  56. ###############################################################################
  57. OPTC_DCN32 = dcn32_optc.o
  58. AMD_DAL_OPTC_DCN32 = $(addprefix $(AMDDALPATH)/dc/optc/dcn32/,$(OPTC_DCN32))
  59. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN32)
  60. ###############################################################################
  61. OPTC_DCN35 = dcn35_optc.o
  62. AMD_DAL_OPTC_DCN35 = $(addprefix $(AMDDALPATH)/dc/optc/dcn35/,$(OPTC_DCN35))
  63. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN35)
  64. ###############################################################################
  65. ###############################################################################
  66. OPTC_DCN401 = dcn401_optc.o
  67. AMD_DAL_OPTC_DCN401 = $(addprefix $(AMDDALPATH)/dc/optc/dcn401/,$(OPTC_DCN401))
  68. AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN401)
  69. endif