intel/isl: Move get_format_encoding function to isl
authorSagar Ghuge <sagar.ghuge@intel.com>
Tue, 4 Feb 2020 05:57:38 +0000 (21:57 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 13 Feb 2020 18:44:50 +0000 (18:44 +0000)
commit207a93bbff1ef0c40d8f7da339f03dbb12961a7c
tree130ecd180332f687fb541b07236df325f843c6d3
parent2a98cf3b2ecea43cea148df7f77d2abadfd1c9db
intel/isl: Move get_format_encoding function to isl

Move get_format_encoding function to isl and rename to
isl_get_aux_map_format_encoding.

v2:
- Rename isl_get_aux_map_format_encoding to
  isl_format_get_aux_map_encoding (Jason Ekstrand)

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3719>
src/intel/common/gen_aux_map.c
src/intel/isl/isl.c
src/intel/isl/isl.h