summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
diff options
context:
space:
mode:
authorHarry Wentland2017-09-28 02:45:26 +0200
committerAlex Deucher2017-10-21 22:52:42 +0200
commit16b2f2ed5f2ece5bf44d94883412048856ca2966 (patch)
treeb57647a6e0b91a355bf3b1ff14698499f21eb0c2 /drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
parentdrm/amd/display: Small comment on dc_commit_planes_to_stream (diff)
downloadkernel-qcow2-linux-16b2f2ed5f2ece5bf44d94883412048856ca2966.tar.gz
kernel-qcow2-linux-16b2f2ed5f2ece5bf44d94883412048856ca2966.tar.xz
kernel-qcow2-linux-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/dml1_display_rq_dlg_calc.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c b/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
index 8229f782260b..1e4b1e383401 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
@@ -26,6 +26,8 @@
#include "dml1_display_rq_dlg_calc.h"
#include "display_mode_lib.h"
+#include "dml_inline_defs.h"
+
static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma)
{
unsigned int ret_val = 0;