Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 024f0607 authored by Yue Hin Lau's avatar Yue Hin Lau Committed by Alex Deucher
Browse files

drm/amd/display: Refactor dcn10_dpp_cm_helper to dcn10_cm_common

parent 8580d60b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
DCN10 = dcn10_resource.o dcn10_ipp.o dcn10_hw_sequencer.o \
		dcn10_dpp.o dcn10_opp.o dcn10_timing_generator.o \
		dcn10_mem_input.o dcn10_mpc.o \
		dcn10_dpp_dscl.o dcn10_dpp_cm.o dcn10_dpp_cm_helper.o
		dcn10_dpp_dscl.o dcn10_dpp_cm.o dcn10_cm_common.o

AMD_DAL_DCN10 = $(addprefix $(AMDDALPATH)/dc/dcn10/,$(DCN10))

+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#include "reg_helper.h"
#include "dcn10_dpp.h"

#include "dcn10_dpp_cm_helper.h"
#include "dcn10_cm_common.h"

#define REG(reg) reg

+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@
 *
 */

#ifndef __DAL_DPP_DCN10_CM_HELPER_H__
#define __DAL_DPP_DCN10_CM_HELPER_H__
#ifndef __DAL_DCN10_CM_COMMON_H__
#define __DAL_DCN10_CM_COMMON_H__

#define TF_HELPER_REG_FIELD_LIST(type) \
	type exp_region0_lut_offset; \
+1 −1
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@

#include "reg_helper.h"
#include "dcn10_dpp.h"
#include "dcn10_dpp_cm_helper.h"
#include "basics/conversion.h"
#include "dcn10_cm_common.h"

#define NUM_PHASES    64
#define HORZ_MAX_TAPS 8