Commit 680caca6 authored by Bhuvanachandra Pinninti's avatar Bhuvanachandra Pinninti Committed by Alex Deucher

drm/amd/display: Refactor for dio

Moved files to respective folders to improve DIO code.
Signed-off-by: default avatarBhuvanachandra Pinninti <bpinnint@amd.com>
Reviewed-by: default avatarMartin Leung <martin.leung@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fcb3a4fb
......@@ -35,7 +35,6 @@ DC_LIBS += dcn201
DC_LIBS += dcn30
DC_LIBS += dcn301
DC_LIBS += dcn31
DC_LIBS += dcn314
DC_LIBS += dml
DC_LIBS += dml2
endif
......
......@@ -3,7 +3,7 @@
#
# Makefile for dcn30.
DCN301 = dcn301_dio_link_encoder.o dcn301_panel_cntl.o
DCN301 = dcn301_panel_cntl.o
AMD_DAL_DCN301 = $(addprefix $(AMDDALPATH)/dc/dcn301/,$(DCN301))
......
# SPDX-License-Identifier: MIT
# Copyright © 2024 Advanced Micro Devices, Inc. All rights reserved.
#
# Makefile for dcn314.
DCN314 = dcn314_dio_stream_encoder.o
AMD_DAL_DCN314 = $(addprefix $(AMDDALPATH)/dc/dcn314/,$(DCN314))
AMD_DISPLAY_FILES += $(AMD_DAL_DCN314)
......@@ -51,6 +51,15 @@ AMD_DAL_DIO_DCN30 = $(addprefix $(AMDDALPATH)/dc/dio/dcn30/,$(DIO_DCN30))
AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN30)
###############################################################################
# DCN301
###############################################################################
DIO_DCN301 = dcn301_dio_link_encoder.o
AMD_DAL_DIO_DCN301 = $(addprefix $(AMDDALPATH)/dc/dio/dcn301/,$(DIO_DCN301))
AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN301)
###############################################################################
# DCN31
###############################################################################
......@@ -60,6 +69,15 @@ AMD_DAL_DIO_DCN31 = $(addprefix $(AMDDALPATH)/dc/dio/dcn31/,$(DIO_DCN31))
AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN31)
###############################################################################
# DCN314
###############################################################################
DIO_DCN314 = dcn314_dio_stream_encoder.o
AMD_DAL_DIO_DCN314 = $(addprefix $(AMDDALPATH)/dc/dio/dcn314/,$(DIO_DCN314))
AMD_DISPLAY_FILES += $(AMD_DAL_DIO_DCN314)
###############################################################################
# DCN32
###############################################################################
......
......@@ -23,7 +23,6 @@
*
*/
#include "reg_helper.h"
#include "core_types.h"
......
......@@ -22,7 +22,6 @@
*
*/
#include "dc_bios_types.h"
#include "dcn30/dcn30_dio_stream_encoder.h"
#include "dcn314/dcn314_dio_stream_encoder.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment