]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Refactor dcn10_dpp_cm_helper to dcn10_cm_common
authorYue Hin Lau <Yuehin.Lau@amd.com>
Mon, 11 Sep 2017 18:30:02 +0000 (14:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:40:33 +0000 (16:40 -0400)
Signed-off-by: Yue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/Makefile
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.h [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.h with 97% similarity]
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c

index 2d6d3a3718588f830b85e1358448415e607d9259..6b19106f46795159f15ab9d599e0bab4c4435aaa 100644 (file)
@@ -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))
 
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.c
rename to drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
index f616e08759de5163127404af22ec63441dec6152..7f579cb19f4bb08ad2af104c9b693e1d5e250e78 100644 (file)
@@ -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
 
similarity index 97%
rename from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.h
rename to drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.h
index 1155ee5228980e84b2b0ad65dcfc1bd8ee37fea0..64836dcf21f2296da5d673e400ca4267b905a813 100644 (file)
@@ -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; \
index d0e72acfc1d5cb3356120055327204aca45e81c2..61e2a8919e9ce4754f2a0623aa7f57e2bb1a17d3 100644 (file)
@@ -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