From: Emil Velikov Date: Tue, 11 Oct 2016 17:26:19 +0000 (+0100) Subject: isl: make locally used functions static X-Git-Tag: upstream/17.1.0~5593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3;p=platform%2Fupstream%2Fmesa.git isl: make locally used functions static Signed-off-by: Emil Velikov Reviewed-by: Chad Versace --- 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);