Lines Matching full:usage

106                    enum isl_aux_usage usage)  in aux_state_possible()  argument
111 return info[usage].fast_clear; in aux_state_possible()
113 return info[usage].fast_clear && info[usage].compressed; in aux_state_possible()
115 return info[usage].compressed; in aux_state_possible()
131 enum isl_aux_usage usage, in isl_aux_prepare_access() argument
134 if (usage != ISL_AUX_USAGE_NONE) { in isl_aux_prepare_access()
136 usage == ISL_AUX_USAGE_CCS_D ? ISL_AUX_USAGE_CCS_E : usage; in isl_aux_prepare_access()
139 assert(!fast_clear_supported || info[usage].fast_clear); in isl_aux_prepare_access()
143 if (!info[usage].compressed) in isl_aux_prepare_access()
150 info[usage].partial_resolve ? in isl_aux_prepare_access()
153 return info[usage].compressed ? in isl_aux_prepare_access()
159 return info[usage].write_behavior == WRITES_ONLY_TOUCH_MAIN ? in isl_aux_prepare_access()
172 enum isl_aux_usage usage, in isl_aux_state_transition_aux_op() argument
175 assert(aux_state_possible(initial_state, usage)); in isl_aux_state_transition_aux_op()
176 assert(usage != ISL_AUX_USAGE_NONE || op == ISL_AUX_OP_NONE); in isl_aux_state_transition_aux_op()
182 assert(info[usage].fast_clear); in isl_aux_state_transition_aux_op()
186 assert(info[usage].partial_resolve); in isl_aux_state_transition_aux_op()
193 return info[usage].full_resolves_ambiguate || in isl_aux_state_transition_aux_op()
209 enum isl_aux_usage usage, in isl_aux_state_transition_write() argument
212 if (info[usage].write_behavior == WRITES_ONLY_TOUCH_MAIN) { in isl_aux_state_transition_write()
220 assert(aux_state_possible(initial_state, usage)); in isl_aux_state_transition_write()
221 assert(info[usage].write_behavior == WRITES_COMPRESS || in isl_aux_state_transition_write()
222 info[usage].write_behavior == WRITES_COMPRESS_CLEAR || in isl_aux_state_transition_write()
223 info[usage].write_behavior == WRITES_RESOLVE_AMBIGUATE); in isl_aux_state_transition_write()
226 return info[usage].write_behavior == WRITES_COMPRESS ? in isl_aux_state_transition_write()
228 info[usage].write_behavior == WRITES_COMPRESS_CLEAR ? in isl_aux_state_transition_write()
235 return info[usage].write_behavior == WRITES_RESOLVE_AMBIGUATE ? in isl_aux_state_transition_write()
240 return info[usage].write_behavior == WRITES_COMPRESS ? in isl_aux_state_transition_write()
242 info[usage].write_behavior == WRITES_COMPRESS_CLEAR ? in isl_aux_state_transition_write()
257 isl_aux_usage_has_fast_clears(enum isl_aux_usage usage) in isl_aux_usage_has_fast_clears() argument
259 return info[usage].fast_clear; in isl_aux_usage_has_fast_clears()