Home
last modified time | relevance | path

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

/drivers/gpu/drm/vc4/
Dvc4_gem.c67 struct drm_vc4_get_hang_state_bo *bo_state; in vc4_get_hang_state_ioctl() local
99 bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); in vc4_get_hang_state_ioctl()
100 if (!bo_state) { in vc4_get_hang_state_ioctl()
116 bo_state[i].handle = handle; in vc4_get_hang_state_ioctl()
117 bo_state[i].paddr = vc4_bo->base.paddr; in vc4_get_hang_state_ioctl()
118 bo_state[i].size = vc4_bo->base.base.size; in vc4_get_hang_state_ioctl()
122 bo_state, in vc4_get_hang_state_ioctl()
123 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl()
129 drm_gem_handle_delete(file_priv, bo_state[i].handle); in vc4_get_hang_state_ioctl()
134 kfree(bo_state); in vc4_get_hang_state_ioctl()