summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 37beb8cc70a..d648e88ae20 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -28,6 +28,13 @@
#include <stdint.h>
+#include "amd_family.h"
+
+/* Forward declarations. */
+typedef void* ADDR_HANDLE;
+
+struct amdgpu_gpu_info;
+
#define RADEON_SURF_MAX_LEVELS 15
enum radeon_surf_mode {
@@ -175,4 +182,7 @@ struct radeon_surf {
} u;
};
+ADDR_HANDLE amdgpu_addr_create(enum radeon_family family,
+ const struct amdgpu_gpu_info *info);
+
#endif /* AC_SURFACE_H */