Home
last modified time | relevance | path

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

/drivers/gpu/drm/vc4/
Dvc4_gem.c71 struct drm_vc4_get_hang_state_bo *bo_state; in vc4_get_hang_state_ioctl() local
108 bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); in vc4_get_hang_state_ioctl()
109 if (!bo_state) { in vc4_get_hang_state_ioctl()
125 bo_state[i].handle = handle; in vc4_get_hang_state_ioctl()
126 bo_state[i].paddr = vc4_bo->base.paddr; in vc4_get_hang_state_ioctl()
127 bo_state[i].size = vc4_bo->base.base.size; in vc4_get_hang_state_ioctl()
131 bo_state, in vc4_get_hang_state_ioctl()
132 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl()
138 drm_gem_handle_delete(file_priv, bo_state[i].handle); in vc4_get_hang_state_ioctl()
143 kfree(bo_state); in vc4_get_hang_state_ioctl()