Searched refs:state_bo (Results 1 – 1 of 1) sorted by relevance
224 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local227 state_bo->size = obj->size; in msm_gpu_crashstate_get_bo()228 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()230 BUILD_BUG_ON(sizeof(state_bo->name) != sizeof(to_msm_bo(obj)->name)); in msm_gpu_crashstate_get_bo()232 memcpy(state_bo->name, to_msm_bo(obj)->name, sizeof(state_bo->name)); in msm_gpu_crashstate_get_bo()237 state_bo->data = kvmalloc(obj->size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()238 if (!state_bo->data) in msm_gpu_crashstate_get_bo()245 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()246 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()250 memcpy(state_bo->data, ptr, obj->size); in msm_gpu_crashstate_get_bo()