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.c28 int psb_gem_pin(struct psb_gem_object *pobj) in psb_gem_pin() argument
30 struct drm_gem_object *obj = &pobj->base; in psb_gem_pin()
42 if (pobj->in_gart || pobj->stolen) in psb_gem_pin()
55 psb_gtt_insert_pages(dev_priv, &pobj->resource, pages); in psb_gem_pin()
57 (gpu_base + pobj->offset), npages, 0, 0, in psb_gem_pin()
60 pobj->pages = pages; in psb_gem_pin()
63 ++pobj->in_gart; in psb_gem_pin()
73 void psb_gem_unpin(struct psb_gem_object *pobj) in psb_gem_unpin() argument
75 struct drm_gem_object *obj = &pobj->base; in psb_gem_unpin()
86 WARN_ON(!pobj->in_gart); in psb_gem_unpin()
[all …]
H A Dgma_display.c65 struct psb_gem_object *pobj; in gma_pipe_set_base() local
81 pobj = to_psb_gem_object(fb->obj[0]); in gma_pipe_set_base()
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
358 pobj = to_psb_gem_object(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
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()
407 memcpy_from_page(tmp_dst, pobj->pages[i], 0, PAGE_SIZE); in gma_crtc_cursor_set()
[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()