The functions we're marking as UNUSED in isl_surface_state.c are used only when compiling for particular generations. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>tags/17.3-branchpoint
* hardware. Note that this does NOT give you the actual hardware enum values | * hardware. Note that this does NOT give you the actual hardware enum values | ||||
* but an index into the isl_to_gen_[hv]align arrays above. | * but an index into the isl_to_gen_[hv]align arrays above. | ||||
*/ | */ | ||||
static struct isl_extent3d | |||||
UNUSED static struct isl_extent3d | |||||
get_image_alignment(const struct isl_surf *surf) | get_image_alignment(const struct isl_surf *surf) | ||||
{ | { | ||||
if (GEN_GEN >= 9) { | if (GEN_GEN >= 9) { |