Searched refs:state_bo (Results 1 – 1 of 1) sorted by relevance
232 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local235 state_bo->size = obj->base.size; in msm_gpu_crashstate_get_bo()236 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()242 state_bo->data = kvmalloc(obj->base.size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()243 if (!state_bo->data) in msm_gpu_crashstate_get_bo()250 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()251 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()255 memcpy(state_bo->data, ptr, obj->base.size); in msm_gpu_crashstate_get_bo()