From 4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 11 Oct 2016 18:26:19 +0100 Subject: [PATCH] isl: make locally used functions static Signed-off-by: Emil Velikov Reviewed-by: Chad Versace --- 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.7.4