Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_gpu.c224 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo() local
228 state_bo->size = obj->size; in msm_gpu_crashstate_get_bo()
229 state_bo->flags = msm_obj->flags; in msm_gpu_crashstate_get_bo()
230 state_bo->iova = iova; in msm_gpu_crashstate_get_bo()
232 BUILD_BUG_ON(sizeof(state_bo->name) != sizeof(msm_obj->name)); in msm_gpu_crashstate_get_bo()
234 memcpy(state_bo->name, msm_obj->name, sizeof(state_bo->name)); in msm_gpu_crashstate_get_bo()
239 state_bo->data = kvmalloc(obj->size, GFP_KERNEL); in msm_gpu_crashstate_get_bo()
240 if (!state_bo->data) in msm_gpu_crashstate_get_bo()
247 kvfree(state_bo->data); in msm_gpu_crashstate_get_bo()
248 state_bo->data = NULL; in msm_gpu_crashstate_get_bo()
[all …]