Makefile 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 'dpp' sub-component of DAL.
  22. #
  23. ifdef CONFIG_DRM_AMD_DC_FP
  24. ###############################################################################
  25. # DCN
  26. ###############################################################################
  27. DPP_DCN10 = dcn10_dpp.o dcn10_dpp_dscl.o dcn10_dpp_cm.o
  28. AMD_DAL_DPP_DCN10 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn10/,$(DPP_DCN10))
  29. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN10)
  30. ###############################################################################
  31. DPP_DCN20 = dcn20_dpp.o dcn20_dpp_cm.o
  32. AMD_DAL_DPP_DCN20 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn20/,$(DPP_DCN20))
  33. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN20)
  34. ###############################################################################
  35. DPP_DCN201 = dcn201_dpp.o
  36. AMD_DAL_DPP_DCN201 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn201/,$(DPP_DCN201))
  37. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN201)
  38. ###############################################################################
  39. DPP_DCN30 = dcn30_dpp.o dcn30_dpp_cm.o
  40. AMD_DAL_DPP_DCN30 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn30/,$(DPP_DCN30))
  41. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN30)
  42. ###############################################################################
  43. DPP_DCN32 = dcn32_dpp.o
  44. AMD_DAL_DPP_DCN32 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn32/,$(DPP_DCN32))
  45. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN32)
  46. ###############################################################################
  47. DPP_DCN35 = dcn35_dpp.o
  48. AMD_DAL_DPP_DCN35 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn35/,$(DPP_DCN35))
  49. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN35)
  50. ###############################################################################
  51. DPP_DCN401 = dcn401_dpp.o dcn401_dpp_cm.o dcn401_dpp_dscl.o
  52. AMD_DAL_DPP_DCN401 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn401/,$(DPP_DCN401))
  53. AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN401)
  54. endif