Home
last modified time | relevance | path

Searched refs:validated_shader (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_validate_shaders.c157 record_texture_sample(struct vc4_validated_shader_info *validated_shader, in record_texture_sample() argument
161 uint32_t s = validated_shader->num_texture_samples; in record_texture_sample()
165 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample()
175 validated_shader->num_texture_samples = s + 1; in record_texture_sample()
176 validated_shader->texture_samples = temp_samples; in record_texture_sample()
185 check_tmu_write(struct vc4_validated_shader_info *validated_shader, in check_tmu_write() argument
263 validated_shader->uniforms_size; in check_tmu_write()
274 validated_shader->uniforms_size += 4; in check_tmu_write()
278 if (!record_texture_sample(validated_shader, in check_tmu_write()
289 static bool require_uniform_address_uniform(struct vc4_validated_shader_info *validated_shader) in require_uniform_address_uniform() argument
[all …]
H A Dvc4_bo.c176 if (bo->validated_shader) { in vc4_bo_destroy()
177 kfree(bo->validated_shader->uniform_addr_offsets); in vc4_bo_destroy()
178 kfree(bo->validated_shader->texture_samples); in vc4_bo_destroy()
179 kfree(bo->validated_shader); in vc4_bo_destroy()
180 bo->validated_shader = NULL; in vc4_bo_destroy()
585 if (bo->validated_shader) { in vc4_free_object()
586 kfree(bo->validated_shader->uniform_addr_offsets); in vc4_free_object()
587 kfree(bo->validated_shader->texture_samples); in vc4_free_object()
588 kfree(bo->validated_shader); in vc4_free_object()
589 bo->validated_shader = NULL; in vc4_free_object()
[all …]