Lines Matching refs:indent
121 #define pan_print(fp, T, var, indent) \
122 PREFIX2(T, print)(fp, &(var), indent)
144 #define pan_section_print(fp, A, S, var, indent) \
145 PREFIX4(A, SECTION, S, print)(fp, &(var), indent)
159 fprintf(fp, "%*sFormat (v7): %s%s %s%s\n", indent, "", \
1167 MALI_ATTRIBUTE_print(FILE *fp, const struct MALI_ATTRIBUTE * values, unsigned indent)
1169 fprintf(fp, "%*sBuffer index: %u\n", indent, "", values->buffer_index);
1170 fprintf(fp, "%*sOffset enable: %s\n", indent, "", values->offset_enable ? "true" : "false");
1172 fprintf(fp, "%*sOffset: %d\n", indent, "", values->offset);
1225 MALI_ATTRIBUTE_BUFFER_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER * values, unsigned indent)
1227 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1228 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
1229 fprintf(fp, "%*sStride: %u\n", indent, "", values->stride);
1230 fprintf(fp, "%*sSize: %u\n", indent, "", values->size);
1231 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1232 fprintf(fp, "%*sDivisor R: %u\n", indent, "", values->divisor_r);
1233 fprintf(fp, "%*sDivisor P: %u\n", indent, "", values->divisor_p);
1234 fprintf(fp, "%*sDivisor E: %u\n", indent, "", values->divisor_e);
1271 MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT * values, unsigned indent)
1273 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1274 fprintf(fp, "%*sDivisor Numerator: %u\n", indent, "", values->divisor_numerator);
1275 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1322 MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D * values, unsigned indent)
1324 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1325 fprintf(fp, "%*sS dimension: %u\n", indent, "", values->s_dimension);
1326 fprintf(fp, "%*sT dimension: %u\n", indent, "", values->t_dimension);
1327 fprintf(fp, "%*sR dimension: %u\n", indent, "", values->r_dimension);
1328 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
1329 fprintf(fp, "%*sSlice Stride: %u\n", indent, "", values->slice_stride);
1406 MALI_BLEND_FUNCTION_print(FILE *fp, const struct MALI_BLEND_FUNCTION * values, unsigned indent)
1408 fprintf(fp, "%*sA: %s\n", indent, "", mali_blend_operand_a_as_str(values->a));
1409 fprintf(fp, "%*sNegate A: %s\n", indent, "", values->negate_a ? "true" : "false");
1410 fprintf(fp, "%*sB: %s\n", indent, "", mali_blend_operand_b_as_str(values->b));
1411 fprintf(fp, "%*sNegate B: %s\n", indent, "", values->negate_b ? "true" : "false");
1412 fprintf(fp, "%*sC: %s\n", indent, "", mali_blend_operand_c_as_str(values->c));
1413 fprintf(fp, "%*sInvert C: %s\n", indent, "", values->invert_c ? "true" : "false");
1469 MALI_BLEND_EQUATION_print(FILE *fp, const struct MALI_BLEND_EQUATION * values, unsigned indent)
1471 fprintf(fp, "%*sRGB:\n", indent, "");
1472 MALI_BLEND_FUNCTION_print(fp, &values->rgb, indent + 2);
1473 fprintf(fp, "%*sAlpha:\n", indent, "");
1474 MALI_BLEND_FUNCTION_print(fp, &values->alpha, indent + 2);
1475 fprintf(fp, "%*sColor Mask: %u\n", indent, "", values->color_mask);
1584 MALI_BLEND_SHADER_print(FILE *fp, const struct MALI_BLEND_SHADER * values, unsigned indent)
1586 fprintf(fp, "%*sReturn Value: %u\n", indent, "", values->return_value);
1587 fprintf(fp, "%*sPC: %u\n", indent, "", values->pc);
1622 MALI_INTERNAL_CONVERSION_print(FILE *fp, const struct MALI_INTERNAL_CONVERSION * values, unsigned indent)
1625 fprintf(fp, "%*sRaw: %s\n", indent, "", values->raw ? "true" : "false");
1626 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_register_file_format_as_str(values->register_format));
1675 MALI_BLEND_FIXED_FUNCTION_print(FILE *fp, const struct MALI_BLEND_FIXED_FUNCTION * values, unsigned indent)
1677 fprintf(fp, "%*sNum Comps: %u\n", indent, "", values->num_comps);
1678 fprintf(fp, "%*sAlpha Zero NOP: %s\n", indent, "", values->alpha_zero_nop ? "true" : "false");
1679 fprintf(fp, "%*sAlpha One Store: %s\n", indent, "", values->alpha_one_store ? "true" : "false");
1680 fprintf(fp, "%*sRT: %u\n", indent, "", values->rt);
1681 fprintf(fp, "%*sConversion:\n", indent, "");
1682 MALI_INTERNAL_CONVERSION_print(fp, &values->conversion, indent + 2);
1732 MALI_INTERNAL_BLEND_print(FILE *fp, const struct MALI_INTERNAL_BLEND * values, unsigned indent)
1734 fprintf(fp, "%*sMode: %s\n", indent, "", mali_blend_mode_as_str(values->mode));
1735 fprintf(fp, "%*sShader:\n", indent, "");
1736 MALI_BLEND_SHADER_print(fp, &values->shader, indent + 2);
1737 fprintf(fp, "%*sFixed-Function:\n", indent, "");
1738 MALI_BLEND_FIXED_FUNCTION_print(fp, &values->fixed_function, indent + 2);
1838 MALI_BLEND_print(FILE *fp, const struct MALI_BLEND * values, unsigned indent)
1840 fprintf(fp, "%*sLoad Destination: %s\n", indent, "", values->load_destination ? "true" : "false");
1841 fprintf(fp, "%*sAlpha To One: %s\n", indent, "", values->alpha_to_one ? "true" : "false");
1842 fprintf(fp, "%*sEnable: %s\n", indent, "", values->enable ? "true" : "false");
1843 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
1844 fprintf(fp, "%*sRound to FB precision: %s\n", indent, "", values->round_to_fb_precision ? "true" : "false");
1845 fprintf(fp, "%*sConstant: %u\n", indent, "", values->constant);
1846 fprintf(fp, "%*sEquation:\n", indent, "");
1847 MALI_BLEND_EQUATION_print(fp, &values->equation, indent + 2);
1848 fprintf(fp, "%*sInternal:\n", indent, "");
1849 MALI_INTERNAL_BLEND_print(fp, &values->internal, indent + 2);
1896 MALI_INVOCATION_print(FILE *fp, const struct MALI_INVOCATION * values, unsigned indent)
1898 fprintf(fp, "%*sInvocations: %u\n", indent, "", values->invocations);
1899 fprintf(fp, "%*sSize Y shift: %u\n", indent, "", values->size_y_shift);
1900 fprintf(fp, "%*sSize Z shift: %u\n", indent, "", values->size_z_shift);
1901 fprintf(fp, "%*sWorkgroups X shift: %u\n", indent, "", values->workgroups_x_shift);
1902 fprintf(fp, "%*sWorkgroups Y shift: %u\n", indent, "", values->workgroups_y_shift);
1903 fprintf(fp, "%*sWorkgroups Z shift: %u\n", indent, "", values->workgroups_z_shift);
1904 fprintf(fp, "%*sThread group split: %u\n", indent, "", values->thread_group_split);
2015 MALI_PRIMITIVE_print(FILE *fp, const struct MALI_PRIMITIVE * values, unsigned indent)
2017 fprintf(fp, "%*sDraw mode: %s\n", indent, "", mali_draw_mode_as_str(values->draw_mode));
2018 fprintf(fp, "%*sIndex type: %s\n", indent, "", mali_index_type_as_str(values->index_type));
2019 fprintf(fp, "%*sPoint size array format: %s\n", indent, "", mali_point_size_array_format_as_str(values->point_size_array_format));
2020 fprintf(fp, "%*sPrimitive Index Enable: %s\n", indent, "", values->primitive_index_enable ? "true" : "false");
2021 fprintf(fp, "%*sPrimitive Index Writeback: %s\n", indent, "", values->primitive_index_writeback ? "true" : "false");
2022 fprintf(fp, "%*sFirst provoking vertex: %s\n", indent, "", values->first_provoking_vertex ? "true" : "false");
2023 fprintf(fp, "%*sLow Depth Cull: %s\n", indent, "", values->low_depth_cull ? "true" : "false");
2024 fprintf(fp, "%*sHigh Depth Cull: %s\n", indent, "", values->high_depth_cull ? "true" : "false");
2025 fprintf(fp, "%*sSecondary Shader: %s\n", indent, "", values->secondary_shader ? "true" : "false");
2026 fprintf(fp, "%*sPrimitive restart: %s\n", indent, "", mali_primitive_restart_as_str(values->primitive_restart));
2027 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
2028 fprintf(fp, "%*sBase vertex offset: %u\n", indent, "", values->base_vertex_offset);
2029 fprintf(fp, "%*sPrimitive Restart Index: %u\n", indent, "", values->primitive_restart_index);
2030 fprintf(fp, "%*sIndex count: %u\n", indent, "", values->index_count);
2031 fprintf(fp, "%*sIndices: 0x%" PRIx64 "\n", indent, "", values->indices);
2164 MALI_DRAW_print(FILE *fp, const struct MALI_DRAW * values, unsigned indent)
2166 fprintf(fp, "%*sFour Components Per Vertex: %s\n", indent, "", values->four_components_per_vertex ? "true" : "false");
2167 fprintf(fp, "%*sDraw Descriptor Is 64b: %s\n", indent, "", values->draw_descriptor_is_64b ? "true" : "false");
2168 fprintf(fp, "%*sOcclusion query: %s\n", indent, "", mali_occlusion_mode_as_str(values->occlusion_query));
2169 fprintf(fp, "%*sFront face CCW: %s\n", indent, "", values->front_face_ccw ? "true" : "false");
2170 fprintf(fp, "%*sCull front face: %s\n", indent, "", values->cull_front_face ? "true" : "false");
2171 fprintf(fp, "%*sCull back face: %s\n", indent, "", values->cull_back_face ? "true" : "false");
2172 fprintf(fp, "%*sFlat Shading Vertex: %u\n", indent, "", values->flat_shading_vertex);
2173 fprintf(fp, "%*sExclude Filtered Perf Counters: %s\n", indent, "", values->exclude_filtered_perf_counters ? "true" : "false");
2174 fprintf(fp, "%*sPrimitive Barrier: %s\n", indent, "", values->primitive_barrier ? "true" : "false");
2175 fprintf(fp, "%*sClean Fragment Write: %s\n", indent, "", values->clean_fragment_write ? "true" : "false");
2176 fprintf(fp, "%*sInstance Size: %u\n", indent, "", values->instance_size);
2177 fprintf(fp, "%*sInstance Primitive Size: %u\n", indent, "", values->instance_primitive_size);
2178 fprintf(fp, "%*sOffset start: %u\n", indent, "", values->offset_start);
2179 fprintf(fp, "%*sPrimitive Index Base: %u\n", indent, "", values->primitive_index_base);
2180 fprintf(fp, "%*sPosition: 0x%" PRIx64 "\n", indent, "", values->position);
2181 fprintf(fp, "%*sUniform buffers: 0x%" PRIx64 "\n", indent, "", values->uniform_buffers);
2182 fprintf(fp, "%*sTextures: 0x%" PRIx64 "\n", indent, "", values->textures);
2183 fprintf(fp, "%*sSamplers: 0x%" PRIx64 "\n", indent, "", values->samplers);
2184 fprintf(fp, "%*sPush uniforms: 0x%" PRIx64 "\n", indent, "", values->push_uniforms);
2185 fprintf(fp, "%*sState: 0x%" PRIx64 "\n", indent, "", values->state);
2186 fprintf(fp, "%*sAttribute buffers: 0x%" PRIx64 "\n", indent, "", values->attribute_buffers);
2187 fprintf(fp, "%*sAttributes: 0x%" PRIx64 "\n", indent, "", values->attributes);
2188 fprintf(fp, "%*sVarying buffers: 0x%" PRIx64 "\n", indent, "", values->varying_buffers);
2189 fprintf(fp, "%*sVaryings: 0x%" PRIx64 "\n", indent, "", values->varyings);
2190 fprintf(fp, "%*sViewport: 0x%" PRIx64 "\n", indent, "", values->viewport);
2191 fprintf(fp, "%*sOcclusion: 0x%" PRIx64 "\n", indent, "", values->occlusion);
2192 fprintf(fp, "%*sThread Storage: 0x%" PRIx64 "\n", indent, "", values->thread_storage);
2193 fprintf(fp, "%*sFBD: 0x%" PRIx64 "\n", indent, "", values->fbd);
2223 MALI_SURFACE_print(FILE *fp, const struct MALI_SURFACE * values, unsigned indent)
2225 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
2261 MALI_SURFACE_WITH_STRIDE_print(FILE *fp, const struct MALI_SURFACE_WITH_STRIDE * values, unsigned indent)
2263 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
2264 fprintf(fp, "%*sRow stride: %d\n", indent, "", values->row_stride);
2265 fprintf(fp, "%*sSurface stride: %d\n", indent, "", values->surface_stride);
2391 MALI_SAMPLER_print(FILE *fp, const struct MALI_SAMPLER * values, unsigned indent)
2393 fprintf(fp, "%*sType: %u\n", indent, "", values->type);
2394 fprintf(fp, "%*sWrap Mode R: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_r));
2395 fprintf(fp, "%*sWrap Mode T: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_t));
2396 fprintf(fp, "%*sWrap Mode S: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_s));
2397 fprintf(fp, "%*sRound to nearest even: %s\n", indent, "", values->round_to_nearest_even ? "true" : "false");
2398 fprintf(fp, "%*ssRGB override: %s\n", indent, "", values->srgb_override ? "true" : "false");
2399 fprintf(fp, "%*sSeamless Cube Map: %s\n", indent, "", values->seamless_cube_map ? "true" : "false");
2400 fprintf(fp, "%*sClamp integer coordinates: %s\n", indent, "", values->clamp_integer_coordinates ? "true" : "false");
2401 fprintf(fp, "%*sNormalized Coordinates: %s\n", indent, "", values->normalized_coordinates ? "true" : "false");
2402 fprintf(fp, "%*sClamp integer array indices: %s\n", indent, "", values->clamp_integer_array_indices ? "true" : "false");
2403 fprintf(fp, "%*sMinify nearest: %s\n", indent, "", values->minify_nearest ? "true" : "false");
2404 fprintf(fp, "%*sMagnify nearest: %s\n", indent, "", values->magnify_nearest ? "true" : "false");
2405 fprintf(fp, "%*sMagnify cutoff: %s\n", indent, "", values->magnify_cutoff ? "true" : "false");
2406 fprintf(fp, "%*sMipmap Mode: %s\n", indent, "", mali_mipmap_mode_as_str(values->mipmap_mode));
2407 fprintf(fp, "%*sMinimum LOD: %u\n", indent, "", values->minimum_lod);
2408 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
2409 fprintf(fp, "%*sMaximum LOD: %u\n", indent, "", values->maximum_lod);
2410 fprintf(fp, "%*sLOD bias: %d\n", indent, "", values->lod_bias);
2411 fprintf(fp, "%*sMaximum anisotropy: %u\n", indent, "", values->maximum_anisotropy);
2412 fprintf(fp, "%*sLOD algorithm: %s\n", indent, "", mali_lod_algorithm_as_str(values->lod_algorithm));
2413 fprintf(fp, "%*sBorder Color R: 0x%X (%f)\n", indent, "", values->border_color_r, uif(values->border_color_r));
2414 fprintf(fp, "%*sBorder Color G: 0x%X (%f)\n", indent, "", values->border_color_g, uif(values->border_color_g));
2415 fprintf(fp, "%*sBorder Color B: 0x%X (%f)\n", indent, "", values->border_color_b, uif(values->border_color_b));
2416 fprintf(fp, "%*sBorder Color A: 0x%X (%f)\n", indent, "", values->border_color_a, uif(values->border_color_a));
2513 MALI_TEXTURE_print(FILE *fp, const struct MALI_TEXTURE * values, unsigned indent)
2515 fprintf(fp, "%*sType: %u\n", indent, "", values->type);
2516 fprintf(fp, "%*sDimension: %s\n", indent, "", mali_texture_dimension_as_str(values->dimension));
2517 fprintf(fp, "%*sSample corner position: %s\n", indent, "", values->sample_corner_position ? "true" : "false");
2518 fprintf(fp, "%*sNormalize coordinates: %s\n", indent, "", values->normalize_coordinates ? "true" : "false");
2520 fprintf(fp, "%*sWidth: %u\n", indent, "", values->width);
2521 fprintf(fp, "%*sHeight: %u\n", indent, "", values->height);
2522 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
2523 fprintf(fp, "%*sTexel ordering: %s\n", indent, "", mali_texture_layout_as_str(values->texel_ordering));
2524 fprintf(fp, "%*sLevels: %u\n", indent, "", values->levels);
2525 fprintf(fp, "%*sMinimum level: %u\n", indent, "", values->minimum_level);
2526 fprintf(fp, "%*sMinimum LOD: %u\n", indent, "", values->minimum_lod);
2527 fprintf(fp, "%*sSample count: %u\n", indent, "", values->sample_count);
2528 fprintf(fp, "%*sMaximum LOD: %u\n", indent, "", values->maximum_lod);
2529 fprintf(fp, "%*sSurfaces: 0x%" PRIx64 "\n", indent, "", values->surfaces);
2530 fprintf(fp, "%*sArray size: %u\n", indent, "", values->array_size);
2531 fprintf(fp, "%*sDepth: %u\n", indent, "", values->depth);
2614 MALI_RENDERER_PROPERTIES_print(FILE *fp, const struct MALI_RENDERER_PROPERTIES * values, unsigned indent)
2616 fprintf(fp, "%*sUniform buffer count: %u\n", indent, "", values->uniform_buffer_count);
2617 fprintf(fp, "%*sDepth source: %s\n", indent, "", mali_depth_source_as_str(values->depth_source));
2618 fprintf(fp, "%*sShader contains barrier: %s\n", indent, "", values->shader_contains_barrier ? "true" : "false");
2619 fprintf(fp, "%*sShader register allocation: %s\n", indent, "", mali_shader_register_allocation_as_str(values->shader_register_allocation));
2620 fprintf(fp, "%*sSecondary shader register allocation: %s\n", indent, "", mali_shader_register_allocation_as_str(values->secondary_shader_register_allocation));
2621 fprintf(fp, "%*sShader modifies coverage: %s\n", indent, "", values->shader_modifies_coverage ? "true" : "false");
2622 fprintf(fp, "%*sAllow forward pixel to kill: %s\n", indent, "", values->allow_forward_pixel_to_kill ? "true" : "false");
2623 fprintf(fp, "%*sAllow forward pixel to be killed: %s\n", indent, "", values->allow_forward_pixel_to_be_killed ? "true" : "false");
2624 fprintf(fp, "%*sPixel kill operation: %s\n", indent, "", mali_pixel_kill_as_str(values->pixel_kill_operation));
2625 fprintf(fp, "%*sZS update operation: %s\n", indent, "", mali_pixel_kill_as_str(values->zs_update_operation));
2626 fprintf(fp, "%*sPoint sprite coord origin max Y: %s\n", indent, "", values->point_sprite_coord_origin_max_y ? "true" : "false");
2627 fprintf(fp, "%*sStencil from shader: %s\n", indent, "", values->stencil_from_shader ? "true" : "false");
2628 fprintf(fp, "%*sShader wait dependency 6: %s\n", indent, "", values->shader_wait_dependency_6 ? "true" : "false");
2629 fprintf(fp, "%*sShader wait dependency 7: %s\n", indent, "", values->shader_wait_dependency_7 ? "true" : "false");
2648 MALI_COMPUTE_PRELOAD_print(FILE *fp, const struct MALI_COMPUTE_PRELOAD * values, unsigned indent)
2650 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2651 fprintf(fp, "%*sLocal Invocation XY: %s\n", indent, "", values->local_invocation_xy ? "true" : "false");
2652 fprintf(fp, "%*sLocal Invocation Z: %s\n", indent, "", values->local_invocation_z ? "true" : "false");
2653 fprintf(fp, "%*sWork group X: %s\n", indent, "", values->work_group_x ? "true" : "false");
2654 fprintf(fp, "%*sWork group Y: %s\n", indent, "", values->work_group_y ? "true" : "false");
2655 fprintf(fp, "%*sWork group Z: %s\n", indent, "", values->work_group_z ? "true" : "false");
2656 fprintf(fp, "%*sGlobal Invocation X: %s\n", indent, "", values->global_invocation_x ? "true" : "false");
2657 fprintf(fp, "%*sGlobal Invocation Y: %s\n", indent, "", values->global_invocation_y ? "true" : "false");
2658 fprintf(fp, "%*sGlobal Invocation Z: %s\n", indent, "", values->global_invocation_z ? "true" : "false");
2693 MALI_VERTEX_PRELOAD_print(FILE *fp, const struct MALI_VERTEX_PRELOAD * values, unsigned indent)
2695 fprintf(fp, "%*sWarp limit: %s\n", indent, "", mali_warp_limit_as_str(values->warp_limit));
2696 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2697 fprintf(fp, "%*sPosition result address lo: %s\n", indent, "", values->position_result_address_lo ? "true" : "false");
2698 fprintf(fp, "%*sPosition result address hi: %s\n", indent, "", values->position_result_address_hi ? "true" : "false");
2699 fprintf(fp, "%*sVertex ID: %s\n", indent, "", values->vertex_id ? "true" : "false");
2700 fprintf(fp, "%*sInstance ID: %s\n", indent, "", values->instance_id ? "true" : "false");
2716 MALI_FRAGMENT_PRELOAD_print(FILE *fp, const struct MALI_FRAGMENT_PRELOAD * values, unsigned indent)
2718 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2719 fprintf(fp, "%*sCoverage: %s\n", indent, "", values->coverage ? "true" : "false");
2720 fprintf(fp, "%*sPrimitive ID: %s\n", indent, "", values->primitive_id ? "true" : "false");
2721 fprintf(fp, "%*sPrimitive flags: %s\n", indent, "", values->primitive_flags ? "true" : "false");
2722 fprintf(fp, "%*sFragment position: %s\n", indent, "", values->fragment_position ? "true" : "false");
2723 fprintf(fp, "%*sSample mask/ID: %s\n", indent, "", values->sample_mask_id ? "true" : "false");
2799 MALI_PRELOAD_print(FILE *fp, const struct MALI_PRELOAD * values, unsigned indent)
2801 fprintf(fp, "%*sCompute:\n", indent, "");
2802 MALI_COMPUTE_PRELOAD_print(fp, &values->compute, indent + 2);
2803 fprintf(fp, "%*sVertex:\n", indent, "");
2804 MALI_VERTEX_PRELOAD_print(fp, &values->vertex, indent + 2);
2805 fprintf(fp, "%*sFragment:\n", indent, "");
2806 MALI_FRAGMENT_PRELOAD_print(fp, &values->fragment, indent + 2);
2807 fprintf(fp, "%*sUniform count: %u\n", indent, "", values->uniform_count);
2848 MALI_SHADER_print(FILE *fp, const struct MALI_SHADER * values, unsigned indent)
2850 fprintf(fp, "%*sShader: 0x%" PRIx64 "\n", indent, "", values->shader);
2851 fprintf(fp, "%*sSampler count: %u\n", indent, "", values->sampler_count);
2852 fprintf(fp, "%*sTexture count: %u\n", indent, "", values->texture_count);
2853 fprintf(fp, "%*sAttribute count: %u\n", indent, "", values->attribute_count);
2854 fprintf(fp, "%*sVarying count: %u\n", indent, "", values->varying_count);
2922 MALI_MULTISAMPLE_MISC_print(FILE *fp, const struct MALI_MULTISAMPLE_MISC * values, unsigned indent)
2924 fprintf(fp, "%*sSample mask: %u\n", indent, "", values->sample_mask);
2925 fprintf(fp, "%*sMultisample enable: %s\n", indent, "", values->multisample_enable ? "true" : "false");
2926 fprintf(fp, "%*sMultisample late coverage: %s\n", indent, "", values->multisample_late_coverage ? "true" : "false");
2927 fprintf(fp, "%*sEvaluate per-sample: %s\n", indent, "", values->evaluate_per_sample ? "true" : "false");
2928 fprintf(fp, "%*sFixed-function depth range fixed: %s\n", indent, "", values->fixed_function_depth_range_fixed ? "true" : "false");
2929 fprintf(fp, "%*sShader depth range fixed: %s\n", indent, "", values->shader_depth_range_fixed ? "true" : "false");
2930 fprintf(fp, "%*sOverdraw alpha1: %s\n", indent, "", values->overdraw_alpha1 ? "true" : "false");
2931 fprintf(fp, "%*sOverdraw alpha0: %s\n", indent, "", values->overdraw_alpha0 ? "true" : "false");
2932 fprintf(fp, "%*sDepth function: %s\n", indent, "", mali_func_as_str(values->depth_function));
2933 fprintf(fp, "%*sDepth write mask: %s\n", indent, "", values->depth_write_mask ? "true" : "false");
2934 fprintf(fp, "%*sFixed-function near discard: %s\n", indent, "", values->fixed_function_near_discard ? "true" : "false");
2935 fprintf(fp, "%*sFixed-function far discard: %s\n", indent, "", values->fixed_function_far_discard ? "true" : "false");
2936 fprintf(fp, "%*sFragment near discard: %s\n", indent, "", values->fragment_near_discard ? "true" : "false");
2937 fprintf(fp, "%*sFragment far discard: %s\n", indent, "", values->fragment_far_discard ? "true" : "false");
2996 MALI_STENCIL_MASK_MISC_print(FILE *fp, const struct MALI_STENCIL_MASK_MISC * values, unsigned indent)
2998 fprintf(fp, "%*sStencil mask front: %u\n", indent, "", values->stencil_mask_front);
2999 fprintf(fp, "%*sStencil mask back: %u\n", indent, "", values->stencil_mask_back);
3000 fprintf(fp, "%*sStencil enable: %s\n", indent, "", values->stencil_enable ? "true" : "false");
3001 fprintf(fp, "%*sAlpha-to-coverage: %s\n", indent, "", values->alpha_to_coverage ? "true" : "false");
3002 fprintf(fp, "%*sAlpha-to-coverage Invert: %s\n", indent, "", values->alpha_to_coverage_invert ? "true" : "false");
3003 fprintf(fp, "%*sAlpha test compare function: %s\n", indent, "", mali_func_as_str(values->alpha_test_compare_function));
3004 fprintf(fp, "%*sForce seamless cubemaps: %s\n", indent, "", values->force_seamless_cubemaps ? "true" : "false");
3005 fprintf(fp, "%*sDepth Range 1: %s\n", indent, "", values->depth_range_1 ? "true" : "false");
3006 fprintf(fp, "%*sDepth Range 2: %s\n", indent, "", values->depth_range_2 ? "true" : "false");
3007 fprintf(fp, "%*sSingle-sampled lines: %s\n", indent, "", values->single_sampled_lines ? "true" : "false");
3008 fprintf(fp, "%*sPoint snap: %s\n", indent, "", values->point_snap ? "true" : "false");
3052 MALI_STENCIL_print(FILE *fp, const struct MALI_STENCIL * values, unsigned indent)
3054 fprintf(fp, "%*sReference Value: %u\n", indent, "", values->reference_value);
3055 fprintf(fp, "%*sMask: %u\n", indent, "", values->mask);
3056 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
3057 fprintf(fp, "%*sStencil Fail: %s\n", indent, "", mali_stencil_op_as_str(values->stencil_fail));
3058 fprintf(fp, "%*sDepth Fail: %s\n", indent, "", mali_stencil_op_as_str(values->depth_fail));
3059 fprintf(fp, "%*sDepth Pass: %s\n", indent, "", mali_stencil_op_as_str(values->depth_pass));
3072 MALI_LD_VAR_PRELOAD_print(FILE *fp, const struct MALI_LD_VAR_PRELOAD * values, unsigned indent)
3074 fprintf(fp, "%*sVarying Index: %u\n", indent, "", values->varying_index);
3075 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_message_preload_register_format_as_str(values->register_format));
3076 fprintf(fp, "%*sNum Components: %u\n", indent, "", values->num_components);
3091 MALI_VAR_TEX_PRELOAD_print(FILE *fp, const struct MALI_VAR_TEX_PRELOAD * values, unsigned indent)
3093 fprintf(fp, "%*sVarying Index: %u\n", indent, "", values->varying_index);
3094 fprintf(fp, "%*sSampler Index: %u\n", indent, "", values->sampler_index);
3095 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_message_preload_register_format_as_str(values->register_format));
3096 fprintf(fp, "%*sSkip: %s\n", indent, "", values->skip ? "true" : "false");
3097 fprintf(fp, "%*sZero LOD: %s\n", indent, "", values->zero_lod ? "true" : "false");
3145 MALI_MESSAGE_PRELOAD_print(FILE *fp, const struct MALI_MESSAGE_PRELOAD * values, unsigned indent)
3147 fprintf(fp, "%*sType: %s\n", indent, "", mali_message_type_as_str(values->type));
3148 fprintf(fp, "%*sLD_VAR:\n", indent, "");
3149 MALI_LD_VAR_PRELOAD_print(fp, &values->ld_var, indent + 2);
3150 fprintf(fp, "%*sVAR_TEX:\n", indent, "");
3151 MALI_VAR_TEX_PRELOAD_print(fp, &values->var_tex, indent + 2);
3424 MALI_RENDERER_STATE_print(FILE *fp, const struct MALI_RENDERER_STATE * values, unsigned indent)
3426 fprintf(fp, "%*sShader:\n", indent, "");
3427 MALI_SHADER_print(fp, &values->shader, indent + 2);
3428 fprintf(fp, "%*sProperties:\n", indent, "");
3429 MALI_RENDERER_PROPERTIES_print(fp, &values->properties, indent + 2);
3430 fprintf(fp, "%*sDepth units: %f\n", indent, "", values->depth_units);
3431 fprintf(fp, "%*sDepth factor: %f\n", indent, "", values->depth_factor);
3432 fprintf(fp, "%*sDepth bias clamp: %f\n", indent, "", values->depth_bias_clamp);
3433 fprintf(fp, "%*sMultisample, Misc:\n", indent, "");
3434 MALI_MULTISAMPLE_MISC_print(fp, &values->multisample_misc, indent + 2);
3435 fprintf(fp, "%*sStencil Mask, Misc:\n", indent, "");
3436 MALI_STENCIL_MASK_MISC_print(fp, &values->stencil_mask_misc, indent + 2);
3437 fprintf(fp, "%*sStencil front:\n", indent, "");
3438 MALI_STENCIL_print(fp, &values->stencil_front, indent + 2);
3439 fprintf(fp, "%*sStencil back:\n", indent, "");
3440 MALI_STENCIL_print(fp, &values->stencil_back, indent + 2);
3441 fprintf(fp, "%*sPreload:\n", indent, "");
3442 MALI_PRELOAD_print(fp, &values->preload, indent + 2);
3443 fprintf(fp, "%*sAlpha reference: %f\n", indent, "", values->alpha_reference);
3444 fprintf(fp, "%*sThread Balancing: %u\n", indent, "", values->thread_balancing);
3445 fprintf(fp, "%*sSecondary preload:\n", indent, "");
3446 MALI_PRELOAD_print(fp, &values->secondary_preload, indent + 2);
3447 fprintf(fp, "%*sSecondary shader: 0x%" PRIx64 "\n", indent, "", values->secondary_shader);
3448 fprintf(fp, "%*sMessage Preload 1: %u\n", indent, "", values->message_preload_1);
3449 fprintf(fp, "%*sMessage Preload 2: %u\n", indent, "", values->message_preload_2);
3484 MALI_UNIFORM_BUFFER_print(FILE *fp, const struct MALI_UNIFORM_BUFFER * values, unsigned indent)
3486 fprintf(fp, "%*sEntries: %u\n", indent, "", values->entries);
3487 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
3550 MALI_VIEWPORT_print(FILE *fp, const struct MALI_VIEWPORT * values, unsigned indent)
3552 fprintf(fp, "%*sMinimum X: %f\n", indent, "", values->minimum_x);
3553 fprintf(fp, "%*sMinimum Y: %f\n", indent, "", values->minimum_y);
3554 fprintf(fp, "%*sMaximum X: %f\n", indent, "", values->maximum_x);
3555 fprintf(fp, "%*sMaximum Y: %f\n", indent, "", values->maximum_y);
3556 fprintf(fp, "%*sMinimum Z: %f\n", indent, "", values->minimum_z);
3557 fprintf(fp, "%*sMaximum Z: %f\n", indent, "", values->maximum_z);
3558 fprintf(fp, "%*sScissor Minimum X: %u\n", indent, "", values->scissor_minimum_x);
3559 fprintf(fp, "%*sScissor Minimum Y: %u\n", indent, "", values->scissor_minimum_y);
3560 fprintf(fp, "%*sScissor Maximum X: %u\n", indent, "", values->scissor_maximum_x);
3561 fprintf(fp, "%*sScissor Maximum Y: %u\n", indent, "", values->scissor_maximum_y);
3617 MALI_LOCAL_STORAGE_print(FILE *fp, const struct MALI_LOCAL_STORAGE * values, unsigned indent)
3619 fprintf(fp, "%*sTLS Size: %u\n", indent, "", values->tls_size);
3620 fprintf(fp, "%*sTLS Initial Stack Pointer Offset: %u\n", indent, "", values->tls_initial_stack_pointer_offset);
3621 fprintf(fp, "%*sWLS Instances: %u\n", indent, "", values->wls_instances);
3622 fprintf(fp, "%*sWLS Size Base: %u\n", indent, "", values->wls_size_base);
3623 fprintf(fp, "%*sWLS Size Scale: %u\n", indent, "", values->wls_size_scale);
3624 fprintf(fp, "%*sTLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->tls_base_pointer);
3625 fprintf(fp, "%*sWLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->wls_base_pointer);
3888 MALI_RT_BUFFER_print(FILE *fp, const struct MALI_RT_BUFFER * values, unsigned indent)
3890 fprintf(fp, "%*sBase: 0x%" PRIx64 "\n", indent, "", values->base);
3891 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
3892 fprintf(fp, "%*sSurface Stride: %u\n", indent, "", values->surface_stride);
4105 MALI_FRAMEBUFFER_PARAMETERS_print(FILE *fp, const struct MALI_FRAMEBUFFER_PARAMETERS * values, unsigned indent)
4107 fprintf(fp, "%*sPre Frame 0: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->pre_frame_0));
4108 fprintf(fp, "%*sPre Frame 1: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->pre_frame_1));
4109 fprintf(fp, "%*sPost Frame: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->post_frame));
4110 fprintf(fp, "%*sSample Locations: 0x%" PRIx64 "\n", indent, "", values->sample_locations);
4111 fprintf(fp, "%*sFrame Shader DCDs: 0x%" PRIx64 "\n", indent, "", values->frame_shader_dcds);
4112 fprintf(fp, "%*sWidth: %u\n", indent, "", values->width);
4113 fprintf(fp, "%*sHeight: %u\n", indent, "", values->height);
4114 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
4115 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
4116 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
4117 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
4118 fprintf(fp, "%*sSample Count: %u\n", indent, "", values->sample_count);
4119 fprintf(fp, "%*sSample Pattern: %s\n", indent, "", mali_sample_pattern_as_str(values->sample_pattern));
4120 fprintf(fp, "%*sTie-Break Rule: %s\n", indent, "", mali_tie_break_rule_as_str(values->tie_break_rule));
4121 fprintf(fp, "%*sEffective Tile Size: %u\n", indent, "", values->effective_tile_size);
4122 fprintf(fp, "%*sX Downsampling Scale: %u\n", indent, "", values->x_downsampling_scale);
4123 fprintf(fp, "%*sY Downsampling Scale: %u\n", indent, "", values->y_downsampling_scale);
4124 fprintf(fp, "%*sRender Target Count: %u\n", indent, "", values->render_target_count);
4125 fprintf(fp, "%*sColor Buffer Allocation: %u\n", indent, "", values->color_buffer_allocation);
4126 fprintf(fp, "%*sS Clear: %u\n", indent, "", values->s_clear);
4127 fprintf(fp, "%*sS Write Enable: %s\n", indent, "", values->s_write_enable ? "true" : "false");
4128 fprintf(fp, "%*sS Preload Enable: %s\n", indent, "", values->s_preload_enable ? "true" : "false");
4129 fprintf(fp, "%*sS Unload Enable: %s\n", indent, "", values->s_unload_enable ? "true" : "false");
4130 fprintf(fp, "%*sZ Internal Format: %s\n", indent, "", mali_z_internal_format_as_str(values->z_internal_format));
4131 fprintf(fp, "%*sZ Write Enable: %s\n", indent, "", values->z_write_enable ? "true" : "false");
4132 fprintf(fp, "%*sZ Preload Enable: %s\n", indent, "", values->z_preload_enable ? "true" : "false");
4133 fprintf(fp, "%*sZ Unload Enable: %s\n", indent, "", values->z_unload_enable ? "true" : "false");
4134 fprintf(fp, "%*sHas ZS CRC Extension: %s\n", indent, "", values->has_zs_crc_extension ? "true" : "false");
4135 fprintf(fp, "%*sCRC Read Enable: %s\n", indent, "", values->crc_read_enable ? "true" : "false");
4136 fprintf(fp, "%*sCRC Write Enable: %s\n", indent, "", values->crc_write_enable ? "true" : "false");
4137 fprintf(fp, "%*sZ Clear: %f\n", indent, "", values->z_clear);
4138 fprintf(fp, "%*sTiler: 0x%" PRIx64 "\n", indent, "", values->tiler);
4236 MALI_ZS_CRC_EXTENSION_print(FILE *fp, const struct MALI_ZS_CRC_EXTENSION * values, unsigned indent)
4238 fprintf(fp, "%*sCRC Base: 0x%" PRIx64 "\n", indent, "", values->crc_base);
4239 fprintf(fp, "%*sCRC Row Stride: %u\n", indent, "", values->crc_row_stride);
4240 fprintf(fp, "%*sZS Write Format: %s\n", indent, "", mali_zs_format_as_str(values->zs_write_format));
4241 fprintf(fp, "%*sZS Block Format: %s\n", indent, "", mali_block_format_as_str(values->zs_block_format));
4242 fprintf(fp, "%*sZS MSAA: %s\n", indent, "", mali_msaa_as_str(values->zs_msaa));
4243 fprintf(fp, "%*sZS Clean Pixel Write Enable: %s\n", indent, "", values->zs_clean_pixel_write_enable ? "true" : "false");
4244 fprintf(fp, "%*sCRC Render Target: %u\n", indent, "", values->crc_render_target);
4245 fprintf(fp, "%*sS Write Format: %s\n", indent, "", mali_s_format_as_str(values->s_write_format));
4246 fprintf(fp, "%*sS Block Format: %s\n", indent, "", mali_block_format_as_str(values->s_block_format));
4247 fprintf(fp, "%*sS MSAA: %s\n", indent, "", mali_msaa_as_str(values->s_msaa));
4248 fprintf(fp, "%*sZS Writeback Base: 0x%" PRIx64 "\n", indent, "", values->zs_writeback_base);
4249 fprintf(fp, "%*sZS Writeback Row Stride: %u\n", indent, "", values->zs_writeback_row_stride);
4250 fprintf(fp, "%*sZS Writeback Surface Stride: %u\n", indent, "", values->zs_writeback_surface_stride);
4251 fprintf(fp, "%*sS Writeback Base: 0x%" PRIx64 "\n", indent, "", values->s_writeback_base);
4252 fprintf(fp, "%*sS Writeback Row Stride: %u\n", indent, "", values->s_writeback_row_stride);
4253 fprintf(fp, "%*sS Writeback Surface Stride: %u\n", indent, "", values->s_writeback_surface_stride);
4254 fprintf(fp, "%*sZS AFBC Header: 0x%" PRIx64 "\n", indent, "", values->zs_afbc_header);
4255 fprintf(fp, "%*sZS AFBC Row Stride: %u\n", indent, "", values->zs_afbc_row_stride);
4256 fprintf(fp, "%*sZS AFBC Body: 0x%" PRIx64 "\n", indent, "", values->zs_afbc_body);
4257 fprintf(fp, "%*sCRC Clear Color: 0x%" PRIx64 "\n", indent, "", values->crc_clear_color);
4379 MALI_RENDER_TARGET_YUV_OVERLAY_print(FILE *fp, const struct MALI_RENDER_TARGET_YUV_OVERLAY * values, unsigned indent)
4381 fprintf(fp, "%*sSwizzle: %s\n", indent, "", mali_yuv_swizzle_as_str(values->swizzle));
4382 fprintf(fp, "%*sFull Range: %s\n", indent, "", values->full_range ? "true" : "false");
4383 fprintf(fp, "%*sConversion Mode: %s\n", indent, "", mali_yuv_conversion_mode_as_str(values->conversion_mode));
4384 fprintf(fp, "%*sCr Siting: %s\n", indent, "", mali_yuv_cr_siting_as_str(values->cr_siting));
4385 fprintf(fp, "%*sUnsigned Cr Range: %s\n", indent, "", values->unsigned_cr_range ? "true" : "false");
4386 fprintf(fp, "%*sPlane 0 Base: 0x%" PRIx64 "\n", indent, "", values->plane_0_base);
4387 fprintf(fp, "%*sPlane 1 Base: 0x%" PRIx64 "\n", indent, "", values->plane_1_base);
4388 fprintf(fp, "%*sPlane 2 Base: 0x%" PRIx64 "\n", indent, "", values->plane_2_base);
4389 fprintf(fp, "%*sPlane 0 Stride: %u\n", indent, "", values->plane_0_stride);
4390 fprintf(fp, "%*sPlane 1 2 Stride: %u\n", indent, "", values->plane_1_2_stride);
4464 MALI_RENDER_TARGET_AFBC_OVERLAY_print(FILE *fp, const struct MALI_RENDER_TARGET_AFBC_OVERLAY * values, unsigned indent)
4466 fprintf(fp, "%*sHeader: 0x%" PRIx64 "\n", indent, "", values->header);
4467 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
4468 fprintf(fp, "%*sChunk Size: %u\n", indent, "", values->chunk_size);
4469 fprintf(fp, "%*sAFBC Split Block Enable: %s\n", indent, "", values->afbc_split_block_enable ? "true" : "false");
4470 fprintf(fp, "%*sAFBC Wide Block Enable: %s\n", indent, "", values->afbc_wide_block_enable ? "true" : "false");
4471 fprintf(fp, "%*sReverse Issue Order: %s\n", indent, "", values->reverse_issue_order ? "true" : "false");
4472 fprintf(fp, "%*sYUV Transform Enable: %s\n", indent, "", values->yuv_transform_enable ? "true" : "false");
4473 fprintf(fp, "%*sBody: 0x%" PRIx64 "\n", indent, "", values->body);
4474 fprintf(fp, "%*sBody Size: %u\n", indent, "", values->body_size);
4511 MALI_RT_CLEAR_print(FILE *fp, const struct MALI_RT_CLEAR * values, unsigned indent)
4513 fprintf(fp, "%*sColor 0: %u\n", indent, "", values->color_0);
4514 fprintf(fp, "%*sColor 1: %u\n", indent, "", values->color_1);
4515 fprintf(fp, "%*sColor 2: %u\n", indent, "", values->color_2);
4516 fprintf(fp, "%*sColor 3: %u\n", indent, "", values->color_3);
4649 MALI_RENDER_TARGET_print(FILE *fp, const struct MALI_RENDER_TARGET * values, unsigned indent)
4651 fprintf(fp, "%*sYUV:\n", indent, "");
4652 MALI_RENDER_TARGET_YUV_OVERLAY_print(fp, &values->yuv, indent + 2);
4653 fprintf(fp, "%*sAFBC:\n", indent, "");
4654 MALI_RENDER_TARGET_AFBC_OVERLAY_print(fp, &values->afbc, indent + 2);
4655 fprintf(fp, "%*sInternal Buffer Offset: %u\n", indent, "", values->internal_buffer_offset);
4656 fprintf(fp, "%*sYUV Enable: %s\n", indent, "", values->yuv_enable ? "true" : "false");
4657 fprintf(fp, "%*sDithered Clear: %s\n", indent, "", values->dithered_clear ? "true" : "false");
4658 fprintf(fp, "%*sInternal Format: %s\n", indent, "", mali_color_buffer_internal_format_as_str(values->internal_format));
4659 fprintf(fp, "%*sWrite Enable: %s\n", indent, "", values->write_enable ? "true" : "false");
4660 fprintf(fp, "%*sWriteback Format: %s\n", indent, "", mali_color_format_as_str(values->writeback_format));
4661 fprintf(fp, "%*sWriteback Block Format: %s\n", indent, "", mali_block_format_as_str(values->writeback_block_format));
4662 fprintf(fp, "%*sWriteback MSAA: %s\n", indent, "", mali_msaa_as_str(values->writeback_msaa));
4663 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
4664 fprintf(fp, "%*sDithering Enable: %s\n", indent, "", values->dithering_enable ? "true" : "false");
4665 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
4666 fprintf(fp, "%*sClean Pixel Write Enable: %s\n", indent, "", values->clean_pixel_write_enable ? "true" : "false");
4667 fprintf(fp, "%*sRGB:\n", indent, "");
4668 MALI_RT_BUFFER_print(fp, &values->rgb, indent + 2);
4669 fprintf(fp, "%*sClear:\n", indent, "");
4670 MALI_RT_CLEAR_print(fp, &values->clear, indent + 2);
4714 MALI_TILER_HEAP_print(FILE *fp, const struct MALI_TILER_HEAP * values, unsigned indent)
4716 fprintf(fp, "%*sSize: %u\n", indent, "", values->size);
4717 fprintf(fp, "%*sBase: 0x%" PRIx64 "\n", indent, "", values->base);
4718 fprintf(fp, "%*sBottom: 0x%" PRIx64 "\n", indent, "", values->bottom);
4719 fprintf(fp, "%*sTop: 0x%" PRIx64 "\n", indent, "", values->top);
4776 MALI_TILER_WEIGHTS_print(FILE *fp, const struct MALI_TILER_WEIGHTS * values, unsigned indent)
4778 fprintf(fp, "%*sWeight0: %u\n", indent, "", values->weight0);
4779 fprintf(fp, "%*sWeight1: %u\n", indent, "", values->weight1);
4780 fprintf(fp, "%*sWeight2: %u\n", indent, "", values->weight2);
4781 fprintf(fp, "%*sWeight3: %u\n", indent, "", values->weight3);
4782 fprintf(fp, "%*sWeight4: %u\n", indent, "", values->weight4);
4783 fprintf(fp, "%*sWeight5: %u\n", indent, "", values->weight5);
4784 fprintf(fp, "%*sWeight6: %u\n", indent, "", values->weight6);
4785 fprintf(fp, "%*sWeight7: %u\n", indent, "", values->weight7);
4858 MALI_TILER_STATE_print(FILE *fp, const struct MALI_TILER_STATE * values, unsigned indent)
4860 fprintf(fp, "%*sWord0: %u\n", indent, "", values->word0);
4861 fprintf(fp, "%*sWord1: %u\n", indent, "", values->word1);
4862 fprintf(fp, "%*sWord2: %u\n", indent, "", values->word2);
4863 fprintf(fp, "%*sWord3: %u\n", indent, "", values->word3);
4864 fprintf(fp, "%*sWord4: %u\n", indent, "", values->word4);
4865 fprintf(fp, "%*sWord5: %u\n", indent, "", values->word5);
4866 fprintf(fp, "%*sWord6: %u\n", indent, "", values->word6);
4867 fprintf(fp, "%*sWord7: %u\n", indent, "", values->word7);
4868 fprintf(fp, "%*sWord8: %u\n", indent, "", values->word8);
4869 fprintf(fp, "%*sWord9: %u\n", indent, "", values->word9);
4870 fprintf(fp, "%*sWord10: %u\n", indent, "", values->word10);
4871 fprintf(fp, "%*sWord11: %u\n", indent, "", values->word11);
4872 fprintf(fp, "%*sWord12: %u\n", indent, "", values->word12);
4873 fprintf(fp, "%*sWord13: %u\n", indent, "", values->word13);
4874 fprintf(fp, "%*sWord14: %u\n", indent, "", values->word14);
4875 fprintf(fp, "%*sWord15: %u\n", indent, "", values->word15);
5022 MALI_TILER_CONTEXT_print(FILE *fp, const struct MALI_TILER_CONTEXT * values, unsigned indent)
5024 fprintf(fp, "%*sPolygon List: 0x%" PRIx64 "\n", indent, "", values->polygon_list);
5025 fprintf(fp, "%*sHierarchy Mask: %u\n", indent, "", values->hierarchy_mask);
5026 fprintf(fp, "%*sSample Pattern: %s\n", indent, "", mali_sample_pattern_as_str(values->sample_pattern));
5027 fprintf(fp, "%*sUpdate Cost Table: %s\n", indent, "", values->update_cost_table ? "true" : "false");
5028 fprintf(fp, "%*sFB Width: %u\n", indent, "", values->fb_width);
5029 fprintf(fp, "%*sFB Height: %u\n", indent, "", values->fb_height);
5030 fprintf(fp, "%*sHeap: 0x%" PRIx64 "\n", indent, "", values->heap);
5031 fprintf(fp, "%*sWeights:\n", indent, "");
5032 MALI_TILER_WEIGHTS_print(fp, &values->weights, indent + 2);
5033 fprintf(fp, "%*sState:\n", indent, "");
5034 MALI_TILER_STATE_print(fp, &values->state, indent + 2);
5092 MALI_FRAMEBUFFER_PADDING_print(FILE *fp, const struct MALI_FRAMEBUFFER_PADDING * values, unsigned indent)
5186 MALI_JOB_HEADER_print(FILE *fp, const struct MALI_JOB_HEADER * values, unsigned indent)
5188 fprintf(fp, "%*sException Status: %u\n", indent, "", values->exception_status);
5189 fprintf(fp, "%*sFirst Incomplete Task: %u\n", indent, "", values->first_incomplete_task);
5190 fprintf(fp, "%*sFault Pointer: 0x%" PRIx64 "\n", indent, "", values->fault_pointer);
5191 fprintf(fp, "%*sIs 64b: %s\n", indent, "", values->is_64b ? "true" : "false");
5192 fprintf(fp, "%*sType: %s\n", indent, "", mali_job_type_as_str(values->type));
5193 fprintf(fp, "%*sBarrier: %s\n", indent, "", values->barrier ? "true" : "false");
5194 fprintf(fp, "%*sInvalidate Cache: %s\n", indent, "", values->invalidate_cache ? "true" : "false");
5195 fprintf(fp, "%*sSuppress Prefetch: %s\n", indent, "", values->suppress_prefetch ? "true" : "false");
5196 fprintf(fp, "%*sEnable Texture Mapper: %s\n", indent, "", values->enable_texture_mapper ? "true" : "false");
5197 fprintf(fp, "%*sRelax Dependency 1: %s\n", indent, "", values->relax_dependency_1 ? "true" : "false");
5198 fprintf(fp, "%*sRelax Dependency 2: %s\n", indent, "", values->relax_dependency_2 ? "true" : "false");
5199 fprintf(fp, "%*sIndex: %u\n", indent, "", values->index);
5200 fprintf(fp, "%*sDependency 1: %u\n", indent, "", values->dependency_1);
5201 fprintf(fp, "%*sDependency 2: %u\n", indent, "", values->dependency_2);
5202 fprintf(fp, "%*sNext: 0x%" PRIx64 "\n", indent, "", values->next);
5258 MALI_FRAGMENT_JOB_PAYLOAD_print(FILE *fp, const struct MALI_FRAGMENT_JOB_PAYLOAD * values, unsigned indent)
5260 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
5261 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
5262 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
5263 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
5264 fprintf(fp, "%*sHas Tile Enable Map: %s\n", indent, "", values->has_tile_enable_map ? "true" : "false");
5265 fprintf(fp, "%*sFramebuffer: 0x%" PRIx64 "\n", indent, "", values->framebuffer);
5266 fprintf(fp, "%*sTile Enable Map: 0x%" PRIx64 "\n", indent, "", values->tile_enable_map);
5267 fprintf(fp, "%*sTile Enable Map Row Stride: %u\n", indent, "", values->tile_enable_map_row_stride);
5349 MALI_WRITE_VALUE_JOB_PAYLOAD_print(FILE *fp, const struct MALI_WRITE_VALUE_JOB_PAYLOAD * values, unsigned indent)
5351 fprintf(fp, "%*sAddress: 0x%" PRIx64 "\n", indent, "", values->address);
5352 fprintf(fp, "%*sType: %s\n", indent, "", mali_write_value_type_as_str(values->type));
5353 fprintf(fp, "%*sImmediate Value: 0x%" PRIx64 "\n", indent, "", values->immediate_value);
5407 MALI_CACHE_FLUSH_JOB_PAYLOAD_print(FILE *fp, const struct MALI_CACHE_FLUSH_JOB_PAYLOAD * values, unsigned indent)
5409 fprintf(fp, "%*sClean Shader Core LS: %s\n", indent, "", values->clean_shader_core_ls ? "true" : "false");
5410 fprintf(fp, "%*sInvalidate Shader Core LS: %s\n", indent, "", values->invalidate_shader_core_ls ? "true" : "false");
5411 fprintf(fp, "%*sInvalidate Shader Core Other: %s\n", indent, "", values->invalidate_shader_core_other ? "true" : "false");
5412 fprintf(fp, "%*sJob Manager Clean: %s\n", indent, "", values->job_manager_clean ? "true" : "false");
5413 fprintf(fp, "%*sJob Manager Invalidate: %s\n", indent, "", values->job_manager_invalidate ? "true" : "false");
5414 fprintf(fp, "%*sTiler Clean: %s\n", indent, "", values->tiler_clean ? "true" : "false");
5415 fprintf(fp, "%*sTiler Invalidate: %s\n", indent, "", values->tiler_invalidate ? "true" : "false");
5416 fprintf(fp, "%*sL2 Clean: %s\n", indent, "", values->l2_clean ? "true" : "false");
5417 fprintf(fp, "%*sL2 Invalidate: %s\n", indent, "", values->l2_invalidate ? "true" : "false");
5494 MALI_COMPUTE_JOB_PARAMETERS_print(FILE *fp, const struct MALI_COMPUTE_JOB_PARAMETERS * values, unsigned indent)
5496 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
5559 MALI_PRIMITIVE_SIZE_print(FILE *fp, const struct MALI_PRIMITIVE_SIZE * values, unsigned indent)
5561 fprintf(fp, "%*sConstant: %f\n", indent, "", values->constant);
5562 fprintf(fp, "%*sSize Array: 0x%" PRIx64 "\n", indent, "", values->size_array);
5591 MALI_TILER_POINTER_print(FILE *fp, const struct MALI_TILER_POINTER * values, unsigned indent)
5593 fprintf(fp, "%*sAddress: 0x%" PRIx64 "\n", indent, "", values->address);
5643 MALI_TILER_JOB_PADDING_print(FILE *fp, const struct MALI_TILER_JOB_PADDING * values, unsigned indent)