Searched refs:state_bo (Results 1 – 1 of 1) sorted by relevance
225 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local229 state_bo->size = size; in msm_gpu_crashstate_get_bo()230 state_bo->flags = msm_obj->flags; 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(msm_obj->name)); in msm_gpu_crashstate_get_bo()235 memcpy(state_bo->name, msm_obj->name, sizeof(state_bo->name)); in msm_gpu_crashstate_get_bo()240 state_bo->data = kvmalloc(size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()241 if (!state_bo->data) in msm_gpu_crashstate_get_bo()246 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()247 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()[all …]
Completed in 5 milliseconds