Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpu.c307 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local
310 state_bo->size = obj->base.size; in msm_gpu_crashstate_get_bo()
311 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()
317 state_bo->data = kvmalloc(obj->base.size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()
318 if (!state_bo->data) in msm_gpu_crashstate_get_bo()
323 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()
324 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()
328 memcpy(state_bo->data, ptr, obj->base.size); in msm_gpu_crashstate_get_bo()