Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_object.c59 void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain) in qxl_ttm_placement_from_domain() argument
65 if (qbo->tbo.base.size <= PAGE_SIZE) in qxl_ttm_placement_from_domain()
68 qbo->placement.placement = qbo->placements; in qxl_ttm_placement_from_domain()
69 qbo->placement.busy_placement = qbo->placements; in qxl_ttm_placement_from_domain()
71 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain()
72 qbo->placements[c++].flags = pflag; in qxl_ttm_placement_from_domain()
75 qbo->placements[c].mem_type = TTM_PL_PRIV; in qxl_ttm_placement_from_domain()
76 qbo->placements[c++].flags = pflag; in qxl_ttm_placement_from_domain()
77 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain()
78 qbo->placements[c++].flags = pflag; in qxl_ttm_placement_from_domain()
[all …]
Dqxl_ttm.c53 struct qxl_bo *qbo; in qxl_evict_flags() local
68 qbo = to_qxl_bo(bo); in qxl_evict_flags()
69 qxl_ttm_placement_from_domain(qbo, QXL_GEM_DOMAIN_CPU); in qxl_evict_flags()
70 *placement = qbo->placement; in qxl_evict_flags()
126 struct qxl_bo *qbo; in qxl_bo_move_notify() local
131 qbo = to_qxl_bo(bo); in qxl_bo_move_notify()
132 qdev = to_qxl(qbo->tbo.base.dev); in qxl_bo_move_notify()
134 if (bo->resource->mem_type == TTM_PL_PRIV && qbo->surface_id) in qxl_bo_move_notify()
135 qxl_surface_evict(qdev, qbo, new_mem ? true : false); in qxl_bo_move_notify()
Dqxl_gem.c51 struct qxl_bo *qbo; in qxl_gem_object_create() local
58 r = qxl_bo_create(qdev, size, kernel, false, initial_domain, 0, surf, &qbo); in qxl_gem_object_create()
66 *obj = &qbo->tbo.base; in qxl_gem_object_create()
69 list_add_tail(&qbo->list, &qdev->gem.objects); in qxl_gem_object_create()
Dqxl_object.h72 extern void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain);