Lines Matching refs:stat
151 dbg_get_status(struct status *stat) in dbg_get_status() argument
161 memset(stat, 0, sizeof(*stat)); in dbg_get_status()
167 stat->info.slice_total = in dbg_get_status()
169 stat->info.subslice_total = in dbg_get_status()
173 stat->info.subslice_per = in dbg_get_status()
176 stat->info.subslice_per = in dbg_get_status()
179 stat->info.eu_total = in dbg_get_status()
181 stat->info.eu_per = in dbg_get_status()
183 stat->info.has_slice_pg = in dbg_get_status()
185 stat->info.has_subslice_pg = in dbg_get_status()
187 stat->info.has_eu_pg = in dbg_get_status()
194 stat->hw.slice_total = in dbg_get_status()
196 stat->hw.subslice_total = in dbg_get_status()
200 stat->hw.subslice_per = in dbg_get_status()
203 stat->hw.subslice_per = in dbg_get_status()
206 stat->hw.eu_total = in dbg_get_status()
208 stat->hw.eu_per = in dbg_get_status()
331 check_full_enable(struct status *stat) in check_full_enable() argument
333 igt_assert_eq(stat->hw.slice_total, stat->info.slice_total); in check_full_enable()
334 igt_assert_eq(stat->hw.subslice_total, stat->info.subslice_total); in check_full_enable()
335 igt_assert_eq(stat->hw.subslice_per, stat->info.subslice_per); in check_full_enable()
344 igt_assert_lte(stat->info.eu_total, stat->hw.eu_total); in check_full_enable()
345 igt_assert_lte(stat->info.eu_per, stat->hw.eu_per); in check_full_enable()
351 struct status stat; in full_enable() local
370 dbg_get_status(&stat); in full_enable()
378 check_full_enable(&stat); in full_enable()