aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-09-28 10:45:26 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-10-21 16:52:42 -0400
commit16b2f2ed5f2ece5bf44d94883412048856ca2966 (patch)
treeb57647a6e0b91a355bf3b1ff14698499f21eb0c2 /drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
parentdrm/amd/display: Small comment on dc_commit_planes_to_stream (diff)
downloadlinux-dev-16b2f2ed5f2ece5bf44d94883412048856ca2966.tar.xz
linux-dev-16b2f2ed5f2ece5bf44d94883412048856ca2966.zip
amdgpu/dc: inline a bunch of the dml wrappers.
This reduces the code size. This is basically a redo of Dave's change with the same name on top of the latest DML. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
index e337c2cf2c09..f51a36449410 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
@@ -1,6 +1,8 @@
#include "display_mode_lib.h"
#include "display_mode_vba.h"
+#include "dml_inline_defs.h"
+
static const unsigned int NumberOfStates = DC__VOLTAGE_STATES;
static void fetch_socbb_params(struct display_mode_lib *mode_lib);