diff options
author | Emil Velikov <[email protected]> | 2016-10-11 18:26:19 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-14 11:53:30 +0100 |
commit | 4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3 (patch) | |
tree | 0a26579226ebed1bd5f2b10a615b720dd37eb82d /src | |
parent | 4fe6e7f2bd35ead2cf833052285474d3de9ebad8 (diff) |
isl: make locally used functions static
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/isl/isl.c | 4 | ||||
-rw-r--r-- | 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 839bcfdeb26..7831c5e5be2 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 967bcb2952b..2edcdd1dbb7 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); |