Makefile 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. #
  2. # Copyright 2017 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. #
  23. # Makefile for the 'gpio' sub-component of DAL.
  24. # It provides the control and status of HW GPIO pins.
  25. GPIO = gpio_base.o gpio_service.o hw_factory.o \
  26. hw_gpio.o hw_hpd.o hw_ddc.o hw_generic.o hw_translate.o
  27. AMD_DAL_GPIO = $(addprefix $(AMDDALPATH)/dc/gpio/,$(GPIO))
  28. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO)
  29. ###############################################################################
  30. # DCE 6x
  31. ###############################################################################
  32. # all DCE6.x are derived from DCE6.0
  33. ifdef CONFIG_DRM_AMD_DC_SI
  34. GPIO_DCE60 = hw_translate_dce60.o hw_factory_dce60.o
  35. AMD_DAL_GPIO_DCE60 = $(addprefix $(AMDDALPATH)/dc/gpio/dce60/,$(GPIO_DCE60))
  36. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCE60)
  37. endif
  38. ###############################################################################
  39. # DCE 8x
  40. ###############################################################################
  41. # all DCE8.x are derived from DCE8.0
  42. GPIO_DCE80 = hw_translate_dce80.o hw_factory_dce80.o
  43. AMD_DAL_GPIO_DCE80 = $(addprefix $(AMDDALPATH)/dc/gpio/dce80/,$(GPIO_DCE80))
  44. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCE80)
  45. ###############################################################################
  46. # DCE 11x
  47. ###############################################################################
  48. GPIO_DCE110 = hw_translate_dce110.o hw_factory_dce110.o
  49. AMD_DAL_GPIO_DCE110 = $(addprefix $(AMDDALPATH)/dc/gpio/dce110/,$(GPIO_DCE110))
  50. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCE110)
  51. ###############################################################################
  52. # DCE 12x
  53. ###############################################################################
  54. GPIO_DCE120 = hw_translate_dce120.o hw_factory_dce120.o
  55. AMD_DAL_GPIO_DCE120 = $(addprefix $(AMDDALPATH)/dc/gpio/dce120/,$(GPIO_DCE120))
  56. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCE120)
  57. ###############################################################################
  58. # DCN 1x
  59. ###############################################################################
  60. GPIO_DCN10 = hw_translate_dcn10.o hw_factory_dcn10.o
  61. AMD_DAL_GPIO_DCN10 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn10/,$(GPIO_DCN10))
  62. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN10)
  63. ###############################################################################
  64. # DCN 2
  65. ###############################################################################
  66. GPIO_DCN20 = hw_translate_dcn20.o hw_factory_dcn20.o
  67. AMD_DAL_GPIO_DCN20 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn20/,$(GPIO_DCN20))
  68. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN20)
  69. ###############################################################################
  70. # DCN 21
  71. ###############################################################################
  72. GPIO_DCN21 = hw_translate_dcn21.o hw_factory_dcn21.o
  73. AMD_DAL_GPIO_DCN21 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn21/,$(GPIO_DCN21))
  74. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN21)
  75. ###############################################################################
  76. # DCN 3
  77. ###############################################################################
  78. GPIO_DCN30 = hw_translate_dcn30.o hw_factory_dcn30.o
  79. AMD_DAL_GPIO_DCN30 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn30/,$(GPIO_DCN30))
  80. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN30)
  81. ###############################################################################
  82. # DCN 3.15
  83. ###############################################################################
  84. GPIO_DCN315 = hw_translate_dcn315.o hw_factory_dcn315.o
  85. AMD_DAL_GPIO_DCN315 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn315/,$(GPIO_DCN315))
  86. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN315)
  87. ###############################################################################
  88. # DCN 3.2
  89. ###############################################################################
  90. GPIO_DCN32 = hw_translate_dcn32.o hw_factory_dcn32.o
  91. AMD_DAL_GPIO_DCN32 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn32/,$(GPIO_DCN32))
  92. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN32)
  93. ###############################################################################
  94. # DCN 4.01
  95. ###############################################################################
  96. GPIO_DCN401 = hw_translate_dcn401.o hw_factory_dcn401.o
  97. AMD_DAL_GPIO_DCN401 = $(addprefix $(AMDDALPATH)/dc/gpio/dcn401/,$(GPIO_DCN401))
  98. AMD_DISPLAY_FILES += $(AMD_DAL_GPIO_DCN401)