Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imagination/
H A Dpvr_ccb.h13 struct pvr_device;
46 int pvr_kccb_init(struct pvr_device *pvr_dev);
47 void pvr_kccb_fini(struct pvr_device *pvr_dev);
48 int pvr_fwccb_init(struct pvr_device *pvr_dev);
51 void pvr_fwccb_process(struct pvr_device *pvr_dev);
56 pvr_kccb_reserve_slot(struct pvr_device *pvr_dev, struct dma_fence *f);
57 void pvr_kccb_release_slot(struct pvr_device *pvr_dev);
58 int pvr_kccb_send_cmd(struct pvr_device *pvr_dev,
60 int pvr_kccb_send_cmd_powered(struct pvr_device *pvr_dev,
63 void pvr_kccb_send_cmd_reserved_powered(struct pvr_device *pvr_dev,
[all …]
H A Dpvr_device.h74 struct pvr_device { struct
366 struct pvr_device *pvr_dev; argument
436 struct pvr_device *_pvr_dev = pvr_dev; \
476 #define to_pvr_device(drm_dev) container_of_const(drm_dev, struct pvr_device, base)
543 int pvr_device_init(struct pvr_device *pvr_dev);
544 void pvr_device_fini(struct pvr_device *pvr_dev);
545 void pvr_device_reset(struct pvr_device *pvr_dev);
548 pvr_device_has_uapi_quirk(struct pvr_device *pvr_dev, u32 quirk);
550 pvr_device_has_uapi_enhancement(struct pvr_device *pvr_dev, u32 enhancement);
552 pvr_device_has_feature(struct pvr_device *pvr_dev, u32 feature);
[all …]
H A Dpvr_vm_mips.h8 struct pvr_device;
14 pvr_vm_mips_init(struct pvr_device *pvr_dev);
16 pvr_vm_mips_fini(struct pvr_device *pvr_dev);
18 pvr_vm_mips_map(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj);
20 pvr_vm_mips_unmap(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj);
H A Dpvr_vm.h14 struct pvr_device;
35 struct pvr_vm_context *pvr_vm_create_context(struct pvr_device *pvr_dev,
50 int pvr_static_data_areas_get(const struct pvr_device *pvr_dev,
52 int pvr_heap_info_get(const struct pvr_device *pvr_dev,
54 const struct drm_pvr_heap *pvr_find_heap_containing(struct pvr_device *pvr_dev,
H A Dpvr_device_info.c16 [PVR_FW_HAS_BRN_##quirk] = offsetof(struct pvr_device, quirks.has_brn##quirk)
36 [PVR_FW_HAS_ERN_##enhancement] = offsetof(struct pvr_device, \
52 static void pvr_device_info_set_common(struct pvr_device *pvr_dev, const u64 *bitmask, in pvr_device_info_set_common()
90 void pvr_device_info_set_quirks(struct pvr_device *pvr_dev, const u64 *quirks, u32 quirks_size) in pvr_device_info_set_quirks()
104 void pvr_device_info_set_enhancements(struct pvr_device *pvr_dev, const u64 *enhancements, in pvr_device_info_set_enhancements()
115 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \
121 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \
122 .value_offset = offsetof(struct pvr_device, features.feature) \
216 int pvr_device_info_set_features(struct pvr_device *pvr_dev, const u64 *features, u32 features_size, in pvr_device_info_set_features()
H A Dpvr_free_list.h52 struct pvr_device *pvr_dev;
114 pvr_get_free_list_min_pages(struct pvr_device *pvr_dev);
161 pvr_free_list_lookup_id(struct pvr_device *pvr_dev, u32 id) in pvr_free_list_lookup_id()
188 void pvr_free_list_process_grow_req(struct pvr_device *pvr_dev,
192 pvr_free_list_process_reconstruct_req(struct pvr_device *pvr_dev,
H A Dpvr_mmu.h11 struct pvr_device;
91 void pvr_mmu_flush_request_all(struct pvr_device *pvr_dev);
92 int pvr_mmu_flush_exec(struct pvr_device *pvr_dev, bool wait);
94 struct pvr_mmu_context *pvr_mmu_context_create(struct pvr_device *pvr_dev);
H A Dpvr_cccb.h16 struct pvr_device;
55 int pvr_cccb_init(struct pvr_device *pvr_dev, struct pvr_cccb *cccb,
62 void pvr_cccb_send_kccb_kick(struct pvr_device *pvr_dev,
65 void pvr_cccb_send_kccb_combined_kick(struct pvr_device *pvr_dev,
H A Dpvr_fw_startstop.h8 struct pvr_device;
10 int pvr_fw_start(struct pvr_device *pvr_dev);
11 int pvr_fw_stop(struct pvr_device *pvr_dev);
H A Dpvr_stream.h11 struct pvr_device;
70 pvr_stream_process(struct pvr_device *pvr_dev, const struct pvr_stream_cmd_defs *cmd_defs,
73 pvr_stream_create_musthave_masks(struct pvr_device *pvr_dev);
H A Dpvr_device_info.h9 struct pvr_device;
152 void pvr_device_info_set_quirks(struct pvr_device *pvr_dev, const u64 *bitmask,
154 void pvr_device_info_set_enhancements(struct pvr_device *pvr_dev, const u64 *bitmask,
156 int pvr_device_info_set_features(struct pvr_device *pvr_dev, const u64 *features, u32 features_size,
H A Dpvr_job.h21 struct pvr_device;
67 struct pvr_device *pvr_dev;
158 int pvr_submit_jobs(struct pvr_device *pvr_dev, struct pvr_file *pvr_file,
H A Dpvr_fw_meta.h10 struct pvr_device;
12 int pvr_meta_cr_read32(struct pvr_device *pvr_dev, u32 reg_addr, u32 *reg_value_out);
H A Dpvr_debugfs.h12 struct pvr_device;
19 void (*init)(struct pvr_device *pvr_dev, struct dentry *dir);
H A Dpvr_params.h64 struct pvr_device;
69 void pvr_params_debugfs_init(struct pvr_device *pvr_dev, struct dentry *dir);
H A Dpvr_queue.c24 static int get_xfer_ctx_state_size(struct pvr_device *pvr_dev) in get_xfer_ctx_state_size()
43 static int get_frag_ctx_state_size(struct pvr_device *pvr_dev) in get_frag_ctx_state_size()
73 static int get_ctx_state_size(struct pvr_device *pvr_dev, enum drm_pvr_job_type type) in get_ctx_state_size()
123 struct pvr_device *pvr_dev = fence->queue->ctx->pvr_dev; in pvr_queue_fence_release()
453 struct pvr_device *pvr_dev = queue->ctx->pvr_dev; in pvr_queue_get_job_kccb_fence()
572 struct pvr_device *pvr_dev = queue->ctx->pvr_dev; in pvr_queue_update_active_state_locked()
604 struct pvr_device *pvr_dev = queue->ctx->pvr_dev; in pvr_queue_update_active_state()
699 struct pvr_device *pvr_dev = job->pvr_dev; in pvr_queue_run_job()
813 struct pvr_device *pvr_dev = queue->ctx->pvr_dev; in pvr_queue_timedout_job()
1227 struct pvr_device *pvr_dev = ctx->pvr_dev; in pvr_queue_create()
[all …]
H A Dpvr_params.c73 struct pvr_device *pvr_dev = data; \
85 struct pvr_device *pvr_dev = data; \
131 pvr_params_debugfs_init(struct pvr_device *pvr_dev, struct dentry *dir) in pvr_params_debugfs_init()
H A Dpvr_cccb.c46 pvr_cccb_init(struct pvr_device *pvr_dev, struct pvr_cccb *pvr_cccb, in pvr_cccb_init()
225 pvr_cccb_send_kccb_kick(struct pvr_device *pvr_dev, in pvr_cccb_send_kccb_kick()
242 pvr_cccb_send_kccb_combined_kick(struct pvr_device *pvr_dev, in pvr_cccb_send_kccb_combined_kick()
H A Dpvr_hwrt.h62 struct pvr_device *pvr_dev;
H A Dpvr_gem.c347 pvr_gem_object_create(struct pvr_device *pvr_dev, size_t size, u64 flags) in pvr_gem_object_create()
/linux/Documentation/gpu/imagination/
H A Duapi.rst166 .. kernel-doc:: drivers/gpu/drm/imagination/pvr_device.h
169 .. kernel-doc:: drivers/gpu/drm/imagination/pvr_device.h