[Mesa-dev] [PATCH 05/12] isl: make locally used functions static
Emil Velikov
emil.l.velikov at gmail.com
Tue Oct 11 17:26:19 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabra.com>
---
src/intel/isl/isl.c | 4 ++--
src/intel/isl/isl.h | 10 ----------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 839bcfd..7831c5e 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -104,7 +104,7 @@ isl_device_get_sample_counts(struct isl_device *dev)
/**
* @param[out] info is written only on success
*/
-bool
+static bool
isl_tiling_get_info(const struct isl_device *dev,
enum isl_tiling tiling,
uint32_t format_bpb,
@@ -229,7 +229,7 @@ isl_tiling_get_info(const struct isl_device *dev,
/**
* @param[out] tiling is set only on success
*/
-bool
+static bool
isl_surf_choose_tiling(const struct isl_device *dev,
const struct isl_surf_init_info *restrict info,
enum isl_tiling *tiling)
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 967bcb2..2edcdd1 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1154,16 +1154,6 @@ isl_tiling_is_std_y(enum isl_tiling tiling)
return (1u << tiling) & ISL_TILING_STD_Y_MASK;
}
-bool
-isl_tiling_get_info(const struct isl_device *dev,
- enum isl_tiling tiling,
- uint32_t format_bpb,
- struct isl_tile_info *info);
-bool
-isl_surf_choose_tiling(const struct isl_device *dev,
- const struct isl_surf_init_info *restrict info,
- enum isl_tiling *tiling);
-
struct isl_extent2d ATTRIBUTE_CONST
isl_get_interleaved_msaa_px_size_sa(uint32_t samples);
--
2.10.0
More information about the mesa-dev
mailing list