Searched refs:state_bo (Results 1 – 1 of 1) sorted by relevance
227 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local230 state_bo->size = obj->base.size; in msm_gpu_crashstate_get_bo()231 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()233 BUILD_BUG_ON(sizeof(state_bo->name) != sizeof(obj->name)); in msm_gpu_crashstate_get_bo()235 memcpy(state_bo->name, obj->name, sizeof(state_bo->name)); in msm_gpu_crashstate_get_bo()240 state_bo->data = kvmalloc(obj->base.size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()241 if (!state_bo->data) in msm_gpu_crashstate_get_bo()248 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()249 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()253 memcpy(state_bo->data, ptr, obj->base.size); in msm_gpu_crashstate_get_bo()