Home
last modified time | relevance | path

Searched refs:drm_device (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/linux-6.6.21/drivers/gpu/drm/
Ddrm_legacy.h39 struct drm_device;
88 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
89 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
90 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
92 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init()
93 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup()
94 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush()
97 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
100 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f);
101 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f);
[all …]
Ddrm_crtc_internal.h46 struct drm_device;
72 int drm_crtc_register_all(struct drm_device *dev);
73 void drm_crtc_unregister_all(struct drm_device *dev);
79 drm_create_scaling_filter_prop(struct drm_device *dev,
82 int drm_mode_getcrtc(struct drm_device *dev,
84 int drm_mode_setcrtc(struct drm_device *dev,
89 int drm_modeset_register_all(struct drm_device *dev);
90 void drm_modeset_unregister_all(struct drm_device *dev);
91 void drm_mode_config_validate(struct drm_device *dev);
97 int drm_mode_getresources(struct drm_device *dev,
[all …]
Ddrm_internal.h49 bool drm_dev_needs_global_mutex(struct drm_device *dev);
52 void drm_lastclose(struct drm_device *dev);
57 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
61 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid()
70 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
72 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data,
85 void drm_managed_release(struct drm_device *dev);
86 void drmm_add_final_kfree(struct drm_device *dev, void *container);
94 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
95 int drm_vblank_get(struct drm_device *dev, unsigned int pipe);
[all …]
Ddrm_agpsupport.c59 int drm_legacy_agp_info(struct drm_device *dev, struct drm_agp_info *info) in drm_legacy_agp_info()
81 int drm_legacy_agp_info_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_info_ioctl()
103 int drm_legacy_agp_acquire(struct drm_device *dev) in drm_legacy_agp_acquire()
127 int drm_legacy_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_acquire_ioctl()
130 return drm_legacy_agp_acquire((struct drm_device *)file_priv->minor->dev); in drm_legacy_agp_acquire_ioctl()
141 int drm_legacy_agp_release(struct drm_device *dev) in drm_legacy_agp_release()
151 int drm_legacy_agp_release_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_release_ioctl()
167 int drm_legacy_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) in drm_legacy_agp_enable()
179 int drm_legacy_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_enable_ioctl()
195 int drm_legacy_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) in drm_legacy_agp_alloc()
[all …]
/linux-6.6.21/include/drm/
Ddrm_drv.h195 int (*load) (struct drm_device *, unsigned long flags);
215 int (*open) (struct drm_device *, struct drm_file *);
229 void (*postclose) (struct drm_device *, struct drm_file *);
257 void (*lastclose) (struct drm_device *);
274 void (*unload) (struct drm_device *);
286 void (*release) (struct drm_device *);
293 void (*master_set)(struct drm_device *dev, struct drm_file *file_priv,
300 void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv);
316 struct drm_gem_object *(*gem_create_object)(struct drm_device *dev,
324 int (*prime_handle_to_fd)(struct drm_device *dev, struct drm_file *file_priv,
[all …]
Ddrm_legacy.h41 struct drm_device;
176 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset,
179 struct drm_local_map *drm_legacy_findmap(struct drm_device *dev, unsigned int token);
180 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map);
181 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map);
182 struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev);
185 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req);
186 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req);
209 int drm_legacy_irq_uninstall(struct drm_device *dev);
222 static inline struct drm_dma_handle *drm_pci_alloc(struct drm_device *dev, in drm_pci_alloc()
[all …]
Ddrm_atomic_helper.h50 int drm_atomic_helper_check_modeset(struct drm_device *dev,
61 int drm_atomic_helper_check_planes(struct drm_device *dev,
64 int drm_atomic_helper_check(struct drm_device *dev,
68 int drm_atomic_helper_commit(struct drm_device *dev,
71 int drm_atomic_helper_async_check(struct drm_device *dev,
73 void drm_atomic_helper_async_commit(struct drm_device *dev,
76 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
80 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
83 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,
87 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
[all …]
Ddrm_property.h189 struct drm_device *dev;
218 struct drm_device *dev;
250 struct drm_property *drm_property_create(struct drm_device *dev,
253 struct drm_property *drm_property_create_enum(struct drm_device *dev,
257 struct drm_property *drm_property_create_bitmask(struct drm_device *dev,
262 struct drm_property *drm_property_create_range(struct drm_device *dev,
265 struct drm_property *drm_property_create_signed_range(struct drm_device *dev,
268 struct drm_property *drm_property_create_object(struct drm_device *dev,
271 struct drm_property *drm_property_create_bool(struct drm_device *dev,
275 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
[all …]
Ddrm_managed.h10 struct drm_device;
13 typedef void (*drmres_release_t)(struct drm_device *dev, void *res);
28 int __must_check __drmm_add_action(struct drm_device *dev,
44 int __must_check __drmm_add_action_or_reset(struct drm_device *dev,
48 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc;
60 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc()
76 static inline void *drmm_kmalloc_array(struct drm_device *dev, in drmm_kmalloc_array()
98 static inline void *drmm_kcalloc(struct drm_device *dev, in drmm_kcalloc()
104 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
106 void drmm_kfree(struct drm_device *dev, void *data);
[all …]
Ddrm_probe_helper.h10 struct drm_device;
19 void drm_kms_helper_poll_init(struct drm_device *dev);
20 void drm_kms_helper_poll_fini(struct drm_device *dev);
21 bool drm_helper_hpd_irq_event(struct drm_device *dev);
23 void drm_kms_helper_hotplug_event(struct drm_device *dev);
26 void drm_kms_helper_poll_disable(struct drm_device *dev);
27 void drm_kms_helper_poll_enable(struct drm_device *dev);
28 void drm_kms_helper_poll_reschedule(struct drm_device *dev);
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_ioctls.h10 struct drm_device;
13 int i915_gem_busy_ioctl(struct drm_device *dev, void *data,
15 int i915_gem_create_ioctl(struct drm_device *dev, void *data,
17 int i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,
19 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data,
21 int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data,
23 int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data,
25 int i915_gem_get_tiling_ioctl(struct drm_device *dev, void *data,
27 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data,
29 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
[all …]
/linux-6.6.21/drivers/gpu/drm/gma500/
Dpsb_intel_drv.h66 size_t(*bo_offset) (struct drm_device *dev, void *bo);
86 struct drm_device *drm_dev;
180 struct gma_i2c_chan *gma_i2c_create(struct drm_device *dev, const u32 reg,
187 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe,
189 extern void psb_intel_crt_init(struct drm_device *dev);
190 extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device);
191 extern void psb_intel_dvo_init(struct drm_device *dev);
192 extern void psb_intel_tv_init(struct drm_device *dev);
193 extern void psb_intel_lvds_init(struct drm_device *dev,
195 extern void psb_intel_lvds_set_brightness(struct drm_device *dev, int level);
[all …]
Dopregion.h26 extern void psb_intel_opregion_asle_intr(struct drm_device *dev);
27 extern void psb_intel_opregion_init(struct drm_device *dev);
28 extern void psb_intel_opregion_fini(struct drm_device *dev);
29 extern int psb_intel_opregion_setup(struct drm_device *dev);
30 extern void psb_intel_opregion_enable_asle(struct drm_device *dev);
34 extern inline void psb_intel_opregion_asle_intr(struct drm_device *dev) in psb_intel_opregion_asle_intr()
38 extern inline void psb_intel_opregion_init(struct drm_device *dev) in psb_intel_opregion_init()
42 extern inline void psb_intel_opregion_fini(struct drm_device *dev) in psb_intel_opregion_fini()
46 extern inline int psb_intel_opregion_setup(struct drm_device *dev) in psb_intel_opregion_setup()
51 extern inline void psb_intel_opregion_enable_asle(struct drm_device *dev) in psb_intel_opregion_enable_asle()
Dpsb_drv.h385 struct drm_device dev;
550 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private()
571 int (*chip_setup)(struct drm_device *dev);
572 void (*chip_teardown)(struct drm_device *dev);
574 void (*errata)(struct drm_device *dev);
577 int (*output_init)(struct drm_device *dev);
578 int (*hotplug)(struct drm_device *dev);
579 void (*hotplug_enable)(struct drm_device *dev, bool on);
581 void (*init_pm)(struct drm_device *dev);
582 int (*save_regs)(struct drm_device *dev);
[all …]
Dcdv_device.h7 struct drm_device;
12 extern void cdv_intel_crt_init(struct drm_device *dev,
14 extern void cdv_intel_lvds_init(struct drm_device *dev,
16 extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *mode_dev,
18 extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev,
20 extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);
21 extern void cdv_disable_sr(struct drm_device *dev);
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
41 void NVSetOwner(struct drm_device *, int owner);
42 void NVBlankScreen(struct drm_device *, int head, bool blank);
43 int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype,
46 int nouveau_hw_get_clock(struct drm_device *, enum nvbios_pll_type plltype);
47 void nouveau_hw_save_vga_fonts(struct drm_device *, bool save);
48 void nouveau_hw_save_state(struct drm_device *, int head,
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_display.h12 nouveau_framebuffer_new(struct drm_device *dev,
19 void (*dtor)(struct drm_device *);
20 int (*init)(struct drm_device *, bool resume, bool runtime);
21 void (*fini)(struct drm_device *, bool suspend, bool runtime);
40 nouveau_display(struct drm_device *dev) in nouveau_display()
45 int nouveau_display_create(struct drm_device *dev);
46 void nouveau_display_destroy(struct drm_device *dev);
47 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime);
48 void nouveau_display_hpd_resume(struct drm_device *dev);
49 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
[all …]
Dnouveau_bios.h49 int bit_table(struct drm_device *, u8 id, struct bit_entry *);
77 struct drm_device *dev;
156 void *olddcb_table(struct drm_device *);
157 void *olddcb_outp(struct drm_device *, u8 idx);
158 int olddcb_outp_foreach(struct drm_device *, void *data,
159 int (*)(struct drm_device *, void *, int idx, u8 *outp));
160 u8 *olddcb_conntab(struct drm_device *);
161 u8 *olddcb_conn(struct drm_device *, u8 idx);
163 int nouveau_bios_init(struct drm_device *);
164 void nouveau_bios_takedown(struct drm_device *dev);
[all …]
Dnouveau_led.h33 struct drm_device *dev;
39 nouveau_led(struct drm_device *dev) in nouveau_led()
46 int nouveau_led_init(struct drm_device *dev);
47 void nouveau_led_suspend(struct drm_device *dev);
48 void nouveau_led_resume(struct drm_device *dev);
49 void nouveau_led_fini(struct drm_device *dev);
51 static inline int nouveau_led_init(struct drm_device *dev) { return 0; }; in nouveau_led_init()
52 static inline void nouveau_led_suspend(struct drm_device *dev) { }; in nouveau_led_suspend()
53 static inline void nouveau_led_resume(struct drm_device *dev) { }; in nouveau_led_resume()
54 static inline void nouveau_led_fini(struct drm_device *dev) { }; in nouveau_led_fini()
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.h8 extern int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
10 extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, void *data,
12 extern int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
15 extern int g2d_open(struct drm_device *drm_dev, struct drm_file *file);
16 extern void g2d_close(struct drm_device *drm_dev, struct drm_file *file);
18 static inline int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data, in exynos_g2d_get_ver_ioctl()
24 static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, in exynos_g2d_set_cmdlist_ioctl()
31 static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data, in exynos_g2d_exec_ioctl()
37 static inline int g2d_open(struct drm_device *drm_dev, struct drm_file *file) in g2d_open()
42 static inline void g2d_close(struct drm_device *drm_dev, struct drm_file *file) in g2d_close()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_drv.h105 struct drm_device *dev;
111 struct drm_device *dev;
114 int (*kms_init)(struct drm_device *dev);
265 int msm_atomic_check(struct drm_device *dev, struct drm_atomic_state *state);
266 struct drm_atomic_state *msm_atomic_state_alloc(struct drm_device *dev);
273 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
274 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu);
276 struct msm_gem_address_space *msm_kms_init_aspace(struct drm_device *dev);
277 bool msm_use_mmu(struct drm_device *dev);
279 int msm_ioctl_gem_submit(struct drm_device *dev, void *data,
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.h48 struct drm_device *dev,
51 struct drm_device *dev,
54 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data,
56 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data,
58 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data,
60 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data,
62 int amdgpu_gem_wait_idle_ioctl(struct drm_device *dev, void *data,
65 int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,
67 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
70 int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_drv.h26 struct drm_device;
83 struct drm_device base;
290 struct drm_device *dev;
478 struct drm_encoder *vc4_find_encoder_by_type(struct drm_device *drm, in vc4_find_encoder_by_type()
880 struct drm_gem_object *vc4_create_object(struct drm_device *dev, size_t size);
881 struct vc4_bo *vc4_bo_create(struct drm_device *dev, size_t size,
884 struct drm_device *dev,
886 int vc4_create_bo_ioctl(struct drm_device *dev, void *data,
888 int vc4_create_shader_bo_ioctl(struct drm_device *dev, void *data,
890 int vc4_mmap_bo_ioctl(struct drm_device *dev, void *data,
[all …]
/linux-6.6.21/drivers/gpu/drm/tegra/
Duapi.h15 struct drm_device;
37 int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data,
39 int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data,
41 int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data,
43 int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data,
45 int tegra_drm_ioctl_channel_submit(struct drm_device *drm, void *data,
47 int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data,
49 int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data,
51 int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data,
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_gem.h18 struct drm_device;
32 void omap_gem_init(struct drm_device *dev);
33 void omap_gem_deinit(struct drm_device *dev);
36 int omap_gem_resume(struct drm_device *dev);
45 struct drm_gem_object *omap_gem_new(struct drm_device *dev,
47 struct drm_gem_object *omap_gem_new_dmabuf(struct drm_device *dev, size_t size,
49 int omap_gem_new_handle(struct drm_device *dev, struct drm_file *file,
54 int omap_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
56 int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
65 struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,

12345678910>>...42