summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7a2df90)
The amdgpu driver requires functions provided by amdgpuaddr:
* AddrComputeSurfaceInfo
* AddrConvertTileInfoToHW
* AddrCreate
* AddrDestroy
We need to link against amdgpuaddr when using this driver.
BUG=b:
64515630
TEST=Built modified arc-cros-gralloc, got ARC++ graphics on AMD
Change-Id: I5bfa32f0c912ac5d3a19ab4f337614a1d91a6328
Reviewed-on: https://chromium-review.googlesource.com/726364
Commit-Ready: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
CFLAGS += -std=c99
LIBS += -shared -lcutils -lhardware -lsync $(LIBDRM_LIBS)
CFLAGS += -std=c99
LIBS += -shared -lcutils -lhardware -lsync $(LIBDRM_LIBS)
+ifdef DRV_AMDGPU
+ LIBS += -lamdgpuaddr
+endif
+
OBJS = $(foreach source, $(SOURCES), $(addsuffix .o, $(basename $(source))))
OBJECTS = $(addprefix $(TARGET_DIR), $(notdir $(OBJS)))
OBJS = $(foreach source, $(SOURCES), $(addsuffix .o, $(basename $(source))))
OBJECTS = $(addprefix $(TARGET_DIR), $(notdir $(OBJS)))