drm/amd/display: fixup DML dependencies

[ Upstream commit 34ad0230062c39cdcba564d16d122c0fb467a7d6 ]

[why]
Need to fix DML portability issues to enable SW unit testing around DML

[how]
Move calcs into dc include folder since multiple components reference it
Remove relative paths to external dependencies

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jun Lei 2019-12-18 14:40:56 -05:00 committed by Greg Kroah-Hartman
parent 304982d21e
commit 0a8f90d565
3 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
*/
#include "dml_common_defs.h"
#include "../calcs/dcn_calc_math.h"
#include "dcn_calc_math.h"
#include "dml_inline_defs.h"

View File

@ -27,7 +27,7 @@
#define __DML_INLINE_DEFS_H__
#include "dml_common_defs.h"
#include "../calcs/dcn_calc_math.h"
#include "dcn_calc_math.h"
#include "dml_logger.h"
static inline double dml_min(double a, double b)