Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/
Dmsm_gpu.c315 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local
318 state_bo->size = obj->base.size; in msm_gpu_crashstate_get_bo()
319 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()
325 state_bo->data = kvmalloc(obj->base.size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()
326 if (!state_bo->data) in msm_gpu_crashstate_get_bo()
331 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()
332 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()
336 memcpy(state_bo->data, ptr, obj->base.size); in msm_gpu_crashstate_get_bo()