Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dgem.c42 if (pobj->in_gart || pobj->stolen) in psb_gem_pin()
63 ++pobj->in_gart; in psb_gem_pin()
88 --pobj->in_gart; in psb_gem_unpin()
90 if (pobj->in_gart || pobj->stolen) in psb_gem_unpin()
121 WARN_ON(pobj->in_gart && !pobj->stolen); in psb_gem_free_object()
124 kfree(pobj); in psb_gem_free_object()
148 pobj = kzalloc(sizeof(*pobj), GFP_KERNEL); in psb_gem_create()
149 if (!pobj) in psb_gem_create()
180 return pobj; in psb_gem_create()
185 kfree(pobj); in psb_gem_create()
[all …]
H A Dgma_display.c65 struct psb_gem_object *pobj; in gma_pipe_set_base() local
85 ret = psb_gem_pin(pobj); in gma_pipe_set_base()
88 start = pobj->offset; in gma_pipe_set_base()
341 struct psb_gem_object *pobj; in gma_crtc_cursor_set() local
359 psb_gem_unpin(pobj); in gma_crtc_cursor_set()
384 pobj = to_psb_gem_object(obj); in gma_crtc_cursor_set()
387 ret = psb_gem_pin(pobj); in gma_crtc_cursor_set()
413 addr = pobj->offset; in gma_crtc_cursor_set()
431 psb_gem_unpin(pobj); in gma_crtc_cursor_set()
488 struct psb_gem_object *pobj; in gma_crtc_disable() local
[all …]
H A Dgem.h40 int psb_gem_pin(struct psb_gem_object *pobj);
41 void psb_gem_unpin(struct psb_gem_object *pobj);
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c201 struct drm_syncobj **pobj = &job->out_sync.objs[i]; in nouveau_job_fence_attach_prepare() local
211 *pobj = drm_syncobj_find(job->file_priv, sync->handle); in nouveau_job_fence_attach_prepare()
212 if (!*pobj) { in nouveau_job_fence_attach_prepare()
244 struct drm_syncobj **pobj = &job->out_sync.objs[i]; in nouveau_job_fence_attach() local
249 drm_syncobj_add_point(*pobj, *pchain, fence, in nouveau_job_fence_attach()
252 drm_syncobj_replace_fence(*pobj, fence); in nouveau_job_fence_attach()
255 drm_syncobj_put(*pobj); in nouveau_job_fence_attach()
256 *pobj = NULL; in nouveau_job_fence_attach()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.h15 struct bpf_object **pobj, int *prog_fd);
H A Dtesting_helpers.c256 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load() argument
286 *pobj = obj; in bpf_prog_test_load()