Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_gem.c71 struct drm_vc4_get_hang_state_bo *bo_state; in vc4_get_hang_state_ioctl() local
111 bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); in vc4_get_hang_state_ioctl()
112 if (!bo_state) { in vc4_get_hang_state_ioctl()
128 bo_state[i].handle = handle; in vc4_get_hang_state_ioctl()
129 bo_state[i].paddr = vc4_bo->base.dma_addr; in vc4_get_hang_state_ioctl()
130 bo_state[i].size = vc4_bo->base.base.size; in vc4_get_hang_state_ioctl()
134 bo_state, in vc4_get_hang_state_ioctl()
135 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl()
141 drm_gem_handle_delete(file_priv, bo_state[i].handle); in vc4_get_hang_state_ioctl()
146 kfree(bo_state); in vc4_get_hang_state_ioctl()