summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-10 20:36:03 +0200
committerNicolai Hähnle <[email protected]>2017-05-18 11:48:51 +0200
commit8aabed64c37c70b0914e5628f0168264ed7e21c7 (patch)
treee8d495e77696a700dec93e15d8014ce6555270a4 /src/amd/common/ac_surface.h
parentdb77cd879b7996fcf423090b776f6f96708818c3 (diff)
ac/radeonsi: move the bulk of gfx9_surface_init to ac_surface
We can now merge the two *_surface_init functions. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 5e4cb81630b..9a9697b77de 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -208,5 +208,9 @@ int gfx6_compute_surface(ADDR_HANDLE addrlib,
const struct ac_surf_config *config,
enum radeon_surf_mode mode,
struct radeon_surf *surf);
+int gfx9_compute_surface(ADDR_HANDLE addrlib,
+ const struct ac_surf_config *config,
+ enum radeon_surf_mode mode,
+ struct radeon_surf *surf);
#endif /* AC_SURFACE_H */