Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c227 struct drm_vc4_bo *drm_bo = &sim_bo->base; in vc4_simulator_pin_bos() local
228 struct drm_gem_cma_object *obj = &drm_bo->base; in vc4_simulator_pin_bos()
230 drm_bo->bo = bo; in vc4_simulator_pin_bos()
244 drm_bo->validated_shader = vc4_validate_shader(obj); in vc4_simulator_pin_bos()
245 if (!drm_bo->validated_shader) in vc4_simulator_pin_bos()
257 struct drm_vc4_bo *drm_bo = to_vc4_bo(&obj->base); in vc4_simulator_unpin_bos() local
258 struct vc4_bo *bo = drm_bo->bo; in vc4_simulator_unpin_bos()
264 if (drm_bo->validated_shader) { in vc4_simulator_unpin_bos()
265 free(drm_bo->validated_shader->texture_samples); in vc4_simulator_unpin_bos()
266 free(drm_bo->validated_shader); in vc4_simulator_unpin_bos()