Home
last modified time | relevance | path

Searched refs:drm_device (Results 1 - 25 of 2079) sorted by relevance

12345678910>>...84

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_legacy.h34 #include <drm/drm_device.h>
38 struct drm_device;
50 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
51 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
52 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
54 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init()
55 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup()
56 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush()
59 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
62 int drm_legacy_resctx(struct drm_device *
[all...]
H A Ddrm_internal.h48 bool drm_dev_needs_global_mutex(struct drm_device *dev);
51 void drm_lastclose(struct drm_device *dev);
56 int drm_irq_by_busid(struct drm_device *dev, void *data,
58 void drm_pci_agp_destroy(struct drm_device *dev);
59 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
63 static inline int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid()
69 static inline void drm_pci_agp_destroy(struct drm_device *dev) in drm_pci_agp_destroy()
73 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid()
82 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
84 int drm_prime_fd_to_handle_ioctl(struct drm_device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_legacy.h34 #include <drm/drm_device.h>
39 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 *
[all...]
H A 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 *de
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_drv.h35 #include <drm/drm_device.h>
51 * See &drm_driver.driver_features, drm_device.driver_features and
173 * one &struct drm_device for each card present in this family. It contains lots
187 * proper and race-free way to set up a &struct drm_device.
195 int (*load) (struct drm_device *, unsigned long flags);
206 * one &struct drm_file (see &drm_file.is_master and &drm_device.master)
215 int (*open) (struct drm_device *, struct drm_file *);
225 * one &struct drm_file (see &drm_file.is_master and &drm_device.master)
229 void (*postclose) (struct drm_device *, struct drm_file *);
235 * currently no userspace client for the &struct drm_device
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_drv.h33 #include <drm/drm_device.h>
47 * See &drm_driver.driver_features, drm_device.driver_features and
157 * one &struct drm_device for each card present in this family. It contains lots
171 * proper and race-free way to set up a &struct drm_device.
179 int (*load) (struct drm_device *, unsigned long flags);
190 * one &struct drm_file (see &drm_file.is_master and &drm_device.master)
199 int (*open) (struct drm_device *, struct drm_file *);
209 * one &struct drm_file (see &drm_file.is_master and &drm_device.master)
213 void (*postclose) (struct drm_device *, struct drm_file *);
219 * currently no userspace client for the &struct drm_device
[all...]
H A Ddrm_agpsupport.h13 struct drm_device;
35 struct drm_agp_head *drm_agp_init(struct drm_device *dev);
36 void drm_legacy_agp_clear(struct drm_device *dev);
37 int drm_agp_acquire(struct drm_device *dev);
38 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
40 int drm_agp_release(struct drm_device *dev);
41 int drm_agp_release_ioctl(struct drm_device *dev, void *data,
43 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode);
44 int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
46 int drm_agp_info(struct drm_device *de
[all...]
H A Ddrm_atomic_helper.h41 int drm_atomic_helper_check_modeset(struct drm_device *dev,
49 int drm_atomic_helper_check_planes(struct drm_device *dev,
51 int drm_atomic_helper_check(struct drm_device *dev,
55 int drm_atomic_helper_commit(struct drm_device *dev,
58 int drm_atomic_helper_async_check(struct drm_device *dev,
60 void drm_atomic_helper_async_commit(struct drm_device *dev,
63 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
67 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
70 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,
74 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A 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_execbuffer_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 *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A 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 *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dpsb_irq.h16 struct drm_device;
18 bool sysirq_init(struct drm_device *dev);
19 void sysirq_uninit(struct drm_device *dev);
21 void psb_irq_preinstall(struct drm_device *dev);
22 int psb_irq_postinstall(struct drm_device *dev);
23 void psb_irq_uninstall(struct drm_device *dev);
26 int psb_irq_enable_dpst(struct drm_device *dev);
27 int psb_irq_disable_dpst(struct drm_device *dev);
28 void psb_irq_turn_on_dpst(struct drm_device *dev);
29 void psb_irq_turn_off_dpst(struct drm_device *de
[all...]
H A Dpsb_intel_drv.h67 size_t(*bo_offset) (struct drm_device *dev, void *bo);
83 struct drm_device *drm_dev;
179 struct psb_intel_i2c_chan *psb_intel_i2c_create(struct drm_device *dev,
186 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe,
188 extern void psb_intel_crt_init(struct drm_device *dev);
189 extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device);
190 extern void psb_intel_dvo_init(struct drm_device *dev);
191 extern void psb_intel_tv_init(struct drm_device *dev);
192 extern void psb_intel_lvds_init(struct drm_device *dev,
194 extern void psb_intel_lvds_set_brightness(struct drm_device *de
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
H A Dvia_drv.h189 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
190 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv);
191 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv);
192 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
193 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
194 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv);
195 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv);
196 extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv);
197 extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv);
199 extern int via_driver_load(struct drm_device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A 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 *de
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A 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 *de
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.h11 struct drm_device;
15 int intel_fbdev_init(struct drm_device *dev);
16 void intel_fbdev_initial_config_async(struct drm_device *dev);
19 void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous);
20 void intel_fbdev_output_poll_changed(struct drm_device *dev);
21 void intel_fbdev_restore_mode(struct drm_device *dev);
23 static inline int intel_fbdev_init(struct drm_device *dev) in intel_fbdev_init()
28 static inline void intel_fbdev_initial_config_async(struct drm_device *dev) in intel_fbdev_initial_config_async()
40 static inline void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous) in intel_fbdev_set_suspend()
44 static inline void intel_fbdev_output_poll_changed(struct drm_device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A 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 *de
[all...]
H A 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 *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_drv.h14 #include <drm/drm_device.h>
23 struct drm_device;
75 struct drm_device base;
236 to_vc4_dev(struct drm_device *dev) in to_vc4_dev()
296 struct drm_device *dev;
786 struct drm_gem_object *vc4_create_object(struct drm_device *dev, size_t size);
788 struct vc4_bo *vc4_bo_create(struct drm_device *dev, size_t size,
791 struct drm_device *dev,
794 int vc4_create_bo_ioctl(struct drm_device *dev, void *data,
796 int vc4_create_shader_bo_ioctl(struct drm_device *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A 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 *, in
[all...]

Completed in 11 milliseconds

12345678910>>...84