Skip to content

Commit

Permalink
drm/amd/display: fixup DML dependencies
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Jun Lei authored and Alex Deucher committed Jan 16, 2020
1 parent 38259ba commit 34ad023
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34ad023

Please sign in to comment.