| .. | .. |
|---|
| 23 | 23 | # Makefile for Display Core (dc) component. |
|---|
| 24 | 24 | # |
|---|
| 25 | 25 | |
|---|
| 26 | | -DC_LIBS = basics bios calcs dce gpio i2caux irq virtual |
|---|
| 26 | +DC_LIBS = basics bios calcs clk_mgr dce gpio irq virtual |
|---|
| 27 | 27 | |
|---|
| 28 | | -ifdef CONFIG_DRM_AMD_DC_DCN1_0 |
|---|
| 28 | +ifdef CONFIG_DRM_AMD_DC_DCN |
|---|
| 29 | +DC_LIBS += dcn20 |
|---|
| 30 | +DC_LIBS += dsc |
|---|
| 29 | 31 | DC_LIBS += dcn10 dml |
|---|
| 32 | +DC_LIBS += dcn21 |
|---|
| 33 | +endif |
|---|
| 34 | + |
|---|
| 35 | +ifdef CONFIG_DRM_AMD_DC_DCN3_0 |
|---|
| 36 | +DC_LIBS += dcn30 |
|---|
| 30 | 37 | endif |
|---|
| 31 | 38 | |
|---|
| 32 | 39 | DC_LIBS += dce120 |
|---|
| .. | .. |
|---|
| 36 | 43 | DC_LIBS += dce100 |
|---|
| 37 | 44 | DC_LIBS += dce80 |
|---|
| 38 | 45 | |
|---|
| 46 | +ifdef CONFIG_DRM_AMD_DC_SI |
|---|
| 47 | +DC_LIBS += dce60 |
|---|
| 48 | +endif |
|---|
| 49 | + |
|---|
| 50 | +ifdef CONFIG_DRM_AMD_DC_HDCP |
|---|
| 51 | +DC_LIBS += hdcp |
|---|
| 52 | +endif |
|---|
| 53 | + |
|---|
| 39 | 54 | AMD_DC = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/dc/,$(DC_LIBS))) |
|---|
| 40 | 55 | |
|---|
| 41 | 56 | include $(AMD_DC) |
|---|
| 42 | 57 | |
|---|
| 43 | 58 | DISPLAY_CORE = dc.o dc_link.o dc_resource.o dc_hw_sequencer.o dc_sink.o \ |
|---|
| 44 | 59 | dc_surface.o dc_link_hwss.o dc_link_dp.o dc_link_ddc.o dc_debug.o dc_stream.o |
|---|
| 60 | + |
|---|
| 61 | +ifdef CONFIG_DRM_AMD_DC_DCN |
|---|
| 62 | +DISPLAY_CORE += dc_vm_helper.o |
|---|
| 63 | +endif |
|---|
| 45 | 64 | |
|---|
| 46 | 65 | AMD_DISPLAY_CORE = $(addprefix $(AMDDALPATH)/dc/core/,$(DISPLAY_CORE)) |
|---|
| 47 | 66 | |
|---|
| .. | .. |
|---|
| 50 | 69 | AMD_DISPLAY_FILES += $(AMD_DISPLAY_CORE) |
|---|
| 51 | 70 | AMD_DISPLAY_FILES += $(AMD_DM_REG_UPDATE) |
|---|
| 52 | 71 | |
|---|
| 53 | | - |
|---|
| 54 | | - |
|---|
| 72 | +DC_DMUB += dc_dmub_srv.o |
|---|
| 73 | +AMD_DISPLAY_DMUB = $(addprefix $(AMDDALPATH)/dc/,$(DC_DMUB)) |
|---|
| 74 | +AMD_DISPLAY_FILES += $(AMD_DISPLAY_DMUB) |
|---|