<div dir="ltr"><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 11:14 AM Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com" target="_blank">samuel.pitoiset@gmail.com</a>><br>
---<br>
src/amd/common/ac_surface.c | 6 +++---<br>
src/amd/common/ac_surface.h | 4 ----<br>
2 files changed, 3 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c<br>
index 28256352cb7..7b86cb1e1f2 100644<br>
--- a/src/amd/common/ac_surface.c<br>
+++ b/src/amd/common/ac_surface.c<br>
@@ -552,9 +552,9 @@ static int gfx6_surface_settings(ADDR_HANDLE addrlib,<br>
return 0;<br>
}<br>
<br>
-void ac_compute_cmask(const struct radeon_info *info,<br>
- const struct ac_surf_config *config,<br>
- struct radeon_surf *surf)<br>
+static void ac_compute_cmask(const struct radeon_info *info,<br>
+ const struct ac_surf_config *config,<br>
+ struct radeon_surf *surf)<br>
{<br>
unsigned pipe_interleave_bytes = info->pipe_interleave_bytes;<br>
unsigned num_pipes = info->num_tile_pipes;<br>
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h<br>
index 08aac94d3a9..49f68f4fc92 100644<br>
--- a/src/amd/common/ac_surface.h<br>
+++ b/src/amd/common/ac_surface.h<br>
@@ -261,10 +261,6 @@ int ac_compute_surface(ADDR_HANDLE addrlib, const struct radeon_info *info,<br>
enum radeon_surf_mode mode,<br>
struct radeon_surf *surf);<br>
<br>
-void ac_compute_cmask(const struct radeon_info *info,<br>
- const struct ac_surf_config *config,<br>
- struct radeon_surf *surf);<br>
-<br>
#ifdef __cplusplus<br>
}<br>
#endif<br>
-- <br>
2.22.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div>