Home
last modified time | relevance | path

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

12345678910>>...35

/Linux-v4.19/drivers/gpu/drm/
Ddrm_legacy.h35 struct drm_device;
45 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
46 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
47 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
48 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
50 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f);
51 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f);
52 int drm_legacy_getctx(struct drm_device *d, void *v, struct drm_file *f);
53 int drm_legacy_switchctx(struct drm_device *d, void *v, struct drm_file *f);
54 int drm_legacy_newctx(struct drm_device *d, void *v, struct drm_file *f);
[all …]
Ddrm_crtc_internal.h43 int drm_crtc_register_all(struct drm_device *dev);
44 void drm_crtc_unregister_all(struct drm_device *dev);
49 int drm_mode_getcrtc(struct drm_device *dev,
51 int drm_mode_setcrtc(struct drm_device *dev,
56 int drm_modeset_register_all(struct drm_device *dev);
57 void drm_modeset_unregister_all(struct drm_device *dev);
63 int drm_mode_getresources(struct drm_device *dev,
68 int drm_mode_create_dumb(struct drm_device *dev,
71 int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
75 int drm_mode_create_dumb_ioctl(struct drm_device *dev,
[all …]
Ddrm_internal.h31 void drm_lastclose(struct drm_device *dev);
34 int drm_irq_by_busid(struct drm_device *dev, void *data,
36 void drm_pci_agp_destroy(struct drm_device *dev);
37 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
40 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
42 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data,
60 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
61 void drm_vblank_cleanup(struct drm_device *dev);
64 int drm_wait_vblank_ioctl(struct drm_device *dev, void *data,
66 int drm_legacy_modeset_ctl_ioctl(struct drm_device *dev, void *data,
[all …]
/Linux-v4.19/include/drm/
Ddrm_drv.h88 int (*load) (struct drm_device *, unsigned long flags);
108 int (*open) (struct drm_device *, struct drm_file *);
122 void (*postclose) (struct drm_device *, struct drm_file *);
150 void (*lastclose) (struct drm_device *);
167 void (*unload) (struct drm_device *);
177 void (*release) (struct drm_device *);
200 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe);
216 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe);
227 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe);
279 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe,
[all …]
Ddrm_agpsupport.h13 struct drm_device;
34 struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
40 struct drm_agp_head *drm_agp_init(struct drm_device *dev);
41 void drm_legacy_agp_clear(struct drm_device *dev);
42 int drm_agp_acquire(struct drm_device *dev);
43 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
45 int drm_agp_release(struct drm_device *dev);
46 int drm_agp_release_ioctl(struct drm_device *dev, void *data,
48 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode);
49 int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
[all …]
Ddrm_atomic_helper.h39 int drm_atomic_helper_check_modeset(struct drm_device *dev,
47 int drm_atomic_helper_check_planes(struct drm_device *dev,
49 int drm_atomic_helper_check(struct drm_device *dev,
53 int drm_atomic_helper_commit(struct drm_device *dev,
56 int drm_atomic_helper_async_check(struct drm_device *dev,
58 void drm_atomic_helper_async_commit(struct drm_device *dev,
61 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
65 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
68 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,
72 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
[all …]
Ddrm_property.h179 struct drm_device *dev;
208 struct drm_device *dev;
240 struct drm_property *drm_property_create(struct drm_device *dev,
243 struct drm_property *drm_property_create_enum(struct drm_device *dev,
247 struct drm_property *drm_property_create_bitmask(struct drm_device *dev,
252 struct drm_property *drm_property_create_range(struct drm_device *dev,
255 struct drm_property *drm_property_create_signed_range(struct drm_device *dev,
258 struct drm_property *drm_property_create_object(struct drm_device *dev,
261 struct drm_property *drm_property_create_bool(struct drm_device *dev,
265 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
[all …]
Ddrm_legacy.h156 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset,
159 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map);
160 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map);
161 void drm_legacy_master_rmmaps(struct drm_device *dev,
163 struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev);
166 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req);
167 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req);
190 void __drm_legacy_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah);
193 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev);
194 void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev);
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_display.h24 int nouveau_framebuffer_new(struct drm_device *,
38 void (*dtor)(struct drm_device *);
39 int (*init)(struct drm_device *);
40 void (*fini)(struct drm_device *);
57 nouveau_display(struct drm_device *dev) in nouveau_display()
62 int nouveau_display_create(struct drm_device *dev);
63 void nouveau_display_destroy(struct drm_device *dev);
64 int nouveau_display_init(struct drm_device *dev);
65 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
66 int nouveau_display_suspend(struct drm_device *dev, 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-v4.19/drivers/gpu/drm/via/
Dvia_drv.h126 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
127 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv);
128 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv);
129 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
130 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
131 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv);
132 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv);
133 extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv);
134 extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv);
136 extern int via_driver_load(struct drm_device *dev, unsigned long chipset);
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dpsb_irq.h29 bool sysirq_init(struct drm_device *dev);
30 void sysirq_uninit(struct drm_device *dev);
32 void psb_irq_preinstall(struct drm_device *dev);
33 int psb_irq_postinstall(struct drm_device *dev);
34 void psb_irq_uninstall(struct drm_device *dev);
37 int psb_irq_enable_dpst(struct drm_device *dev);
38 int psb_irq_disable_dpst(struct drm_device *dev);
39 void psb_irq_turn_on_dpst(struct drm_device *dev);
40 void psb_irq_turn_off_dpst(struct drm_device *dev);
41 int psb_enable_vblank(struct drm_device *dev, unsigned int pipe);
[all …]
Dpsb_intel_drv.h98 size_t(*bo_offset) (struct drm_device *dev, void *bo);
114 struct drm_device *drm_dev;
208 struct psb_intel_i2c_chan *psb_intel_i2c_create(struct drm_device *dev,
215 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe,
217 extern void psb_intel_crt_init(struct drm_device *dev);
218 extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device);
219 extern void psb_intel_dvo_init(struct drm_device *dev);
220 extern void psb_intel_tv_init(struct drm_device *dev);
221 extern void psb_intel_lvds_init(struct drm_device *dev,
223 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.h443 struct drm_device *dev;
643 int (*chip_setup)(struct drm_device *dev);
644 void (*chip_teardown)(struct drm_device *dev);
646 void (*errata)(struct drm_device *dev);
649 int (*output_init)(struct drm_device *dev);
650 int (*hotplug)(struct drm_device *dev);
651 void (*hotplug_enable)(struct drm_device *dev, bool on);
653 void (*init_pm)(struct drm_device *dev);
654 int (*save_regs)(struct drm_device *dev);
655 int (*restore_regs)(struct drm_device *dev);
[all …]
/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_drv.h54 struct drm_device *ddev;
93 int udl_modeset_init(struct drm_device *dev);
94 void udl_modeset_restore(struct drm_device *dev);
95 void udl_modeset_cleanup(struct drm_device *dev);
96 int udl_connector_init(struct drm_device *dev, struct drm_encoder *encoder);
98 struct drm_encoder *udl_encoder_init(struct drm_device *dev);
100 struct urb *udl_get_urb(struct drm_device *dev);
102 int udl_submit_urb(struct drm_device *dev, struct urb *urb, size_t len);
105 int udl_driver_load(struct drm_device *dev, unsigned long flags);
106 void udl_driver_unload(struct drm_device *dev);
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h38 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
39 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
40 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
41 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
42 void NVSetOwner(struct drm_device *, int owner);
43 void NVBlankScreen(struct drm_device *, int head, bool blank);
44 int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype,
47 int nouveau_hw_get_clock(struct drm_device *, enum nvbios_pll_type plltype);
48 void nouveau_hw_save_vga_fonts(struct drm_device *, bool save);
49 void nouveau_hw_save_state(struct drm_device *, int head,
[all …]
Ddisp.h88 nv04_display(struct drm_device *dev) in nv04_display()
94 int nv04_display_create(struct drm_device *);
95 void nv04_display_destroy(struct drm_device *);
96 int nv04_display_init(struct drm_device *);
97 void nv04_display_fini(struct drm_device *);
100 int nv04_crtc_create(struct drm_device *, int index);
111 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
112 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
114 void nv04_dfp_disable(struct drm_device *dev, int head);
118 int nv04_tv_identify(struct drm_device *dev, int i2c_index);
[all …]
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_drv.h68 struct drm_device *dev;
206 to_vc4_dev(struct drm_device *dev) in to_vc4_dev()
270 struct drm_device *dev;
656 struct drm_gem_object *vc4_create_object(struct drm_device *dev, size_t size);
658 struct vc4_bo *vc4_bo_create(struct drm_device *dev, size_t size,
661 struct drm_device *dev,
663 struct dma_buf *vc4_prime_export(struct drm_device *dev,
665 int vc4_create_bo_ioctl(struct drm_device *dev, void *data,
667 int vc4_create_shader_bo_ioctl(struct drm_device *dev, void *data,
669 int vc4_mmap_bo_ioctl(struct drm_device *dev, void *data,
[all …]
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.h20 int exynos_drm_fbdev_init(struct drm_device *dev);
21 void exynos_drm_fbdev_fini(struct drm_device *dev);
22 void exynos_drm_fbdev_suspend(struct drm_device *drm);
23 void exynos_drm_fbdev_resume(struct drm_device *drm);
27 static inline int exynos_drm_fbdev_init(struct drm_device *dev) in exynos_drm_fbdev_init()
32 static inline void exynos_drm_fbdev_fini(struct drm_device *dev) in exynos_drm_fbdev_fini()
36 static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev) in exynos_drm_fbdev_restore_mode()
42 static inline void exynos_drm_fbdev_suspend(struct drm_device *drm) in exynos_drm_fbdev_suspend()
46 static inline void exynos_drm_fbdev_resume(struct drm_device *drm) in exynos_drm_fbdev_resume()
Dexynos_drm_g2d.h11 extern int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
13 extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, void *data,
15 extern int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
18 extern int g2d_open(struct drm_device *drm_dev, struct drm_file *file);
19 extern void g2d_close(struct drm_device *drm_dev, struct drm_file *file);
21 static inline int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data, in exynos_g2d_get_ver_ioctl()
27 static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, in exynos_g2d_set_cmdlist_ioctl()
34 static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data, in exynos_g2d_exec_ioctl()
40 int g2d_open(struct drm_device *drm_dev, struct drm_file *file) in g2d_open()
45 void g2d_close(struct drm_device *drm_dev, struct drm_file *file) in g2d_close()
Dexynos_drm_ipp.h57 struct drm_device *dev;
88 struct drm_device *dev;
132 int exynos_drm_ipp_register(struct drm_device *dev, struct exynos_drm_ipp *ipp,
136 void exynos_drm_ipp_unregister(struct drm_device *dev,
142 int exynos_drm_ipp_get_res_ioctl(struct drm_device *dev, void *data,
144 int exynos_drm_ipp_get_caps_ioctl(struct drm_device *dev, void *data,
146 int exynos_drm_ipp_get_limits_ioctl(struct drm_device *dev, void *data,
148 int exynos_drm_ipp_commit_ioctl(struct drm_device *dev,
151 static inline int exynos_drm_ipp_get_res_ioctl(struct drm_device *dev, in exynos_drm_ipp_get_res_ioctl()
159 static inline int exynos_drm_ipp_get_caps_ioctl(struct drm_device *dev, in exynos_drm_ipp_get_caps_ioctl()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_drv.h145 struct drm_device *dev;
153 struct drm_device *dev;
238 struct drm_atomic_state *msm_atomic_state_alloc(struct drm_device *dev);
253 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
254 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu);
257 int msm_ioctl_gem_submit(struct drm_device *dev, void *data,
260 void msm_gem_shrinker_init(struct drm_device *dev);
261 void msm_gem_shrinker_cleanup(struct drm_device *dev);
276 int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
278 int msm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
[all …]
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_drv.h90 struct drm_device *dev;
131 int ast_driver_load(struct drm_device *dev, unsigned long flags);
132 void ast_driver_unload(struct drm_device *dev);
237 struct drm_device *dev;
313 extern int ast_mode_init(struct drm_device *dev);
314 extern void ast_mode_fini(struct drm_device *dev);
316 int ast_framebuffer_init(struct drm_device *dev,
321 int ast_fbdev_init(struct drm_device *dev);
322 void ast_fbdev_fini(struct drm_device *dev);
323 void ast_fbdev_set_suspend(struct drm_device *dev, int state);
[all …]

12345678910>>...35