isl: make locally used functions static
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 11 Oct 2016 17:26:19 +0000 (18:26 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 10:53:30 +0000 (11:53 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabra.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/isl/isl.c
src/intel/isl/isl.h

index 839bcfdeb26f4e201ffe8539bc7a9ecfeb307040..7831c5e5be2aedf92c62ec5276d8bf6220d2d32e 100644 (file)
@@ -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)
index 967bcb2952b4ea4784030a0f34fe660d146868b8..2edcdd1dbb7df9c42fd49a2daf20b74c9d757d0e 100644 (file)
@@ -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);