Home
last modified time | relevance | path

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

12345678910>>...25

/linux/drivers/gpu/drm/
H A Ddrm_crtc_internal.h51 struct drm_device;
79 int drm_crtc_register_all(struct drm_device *dev);
80 void drm_crtc_unregister_all(struct drm_device *dev);
86 drm_create_scaling_filter_prop(struct drm_device *dev,
89 int drm_mode_getcrtc(struct drm_device *dev,
91 int drm_mode_setcrtc(struct drm_device *dev,
96 int drm_modeset_register_all(struct drm_device *dev);
97 void drm_modeset_unregister_all(struct drm_device *dev);
98 void drm_mode_config_validate(struct drm_device *dev);
104 int drm_mode_getresources(struct drm_device *dev,
[all …]
H A Ddrm_internal.h53 void drm_client_debugfs_init(struct drm_device *dev);
55 static inline void drm_client_debugfs_init(struct drm_device *dev) in drm_client_debugfs_init()
61 void drm_client_sysrq_register(struct drm_device *dev);
62 void drm_client_sysrq_unregister(struct drm_device *dev);
64 static inline void drm_client_sysrq_register(struct drm_device *dev) in drm_client_sysrq_register()
66 static inline void drm_client_sysrq_unregister(struct drm_device *dev) in drm_client_sysrq_unregister()
72 bool drm_dev_needs_global_mutex(struct drm_device *dev);
79 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
83 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid()
92 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
[all …]
/linux/include/drm/
H A Ddrm_atomic_helper.h50 int drm_atomic_helper_check_modeset(struct drm_device *dev,
60 int drm_atomic_helper_check_planes(struct drm_device *dev,
63 void drm_atomic_helper_commit_encoder_bridge_disable(struct drm_device *dev,
65 void drm_atomic_helper_commit_crtc_disable(struct drm_device *dev,
67 void drm_atomic_helper_commit_encoder_bridge_post_disable(struct drm_device *dev,
69 int drm_atomic_helper_check(struct drm_device *dev,
73 int drm_atomic_helper_commit(struct drm_device *dev,
76 int drm_atomic_helper_async_check(struct drm_device *dev,
78 void drm_atomic_helper_async_commit(struct drm_device *dev,
81 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
[all …]
H A Ddrm_client_event.h8 struct drm_device;
11 void drm_client_dev_unregister(struct drm_device *dev);
12 void drm_client_dev_hotplug(struct drm_device *dev);
13 void drm_client_dev_restore(struct drm_device *dev, bool force);
14 void drm_client_dev_suspend(struct drm_device *dev);
15 void drm_client_dev_resume(struct drm_device *dev);
17 static inline void drm_client_dev_unregister(struct drm_device *dev) in drm_client_dev_unregister()
19 static inline void drm_client_dev_hotplug(struct drm_device *dev) in drm_client_dev_hotplug()
21 static inline void drm_client_dev_restore(struct drm_device *dev, bool force) in drm_client_dev_restore()
23 static inline void drm_client_dev_suspend(struct drm_device *dev) in drm_client_dev_suspend()
[all …]
H A 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 …]
H A Ddrm_modeset_helper.h28 struct drm_device;
33 void drm_helper_move_panel_connectors_to_head(struct drm_device *);
35 void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
40 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
43 int drm_mode_config_helper_suspend(struct drm_device *dev);
44 int drm_mode_config_helper_resume(struct drm_device *dev);
H A Ddrm_kunit_helpers.h15 struct drm_device;
23 struct drm_device *
55 static inline struct drm_device *
102 struct drm_device *drm,
107 struct drm_device *drm,
116 struct drm_device *drm,
123 struct drm_device *drm,
133 drm_kunit_display_mode_from_cea_vic(struct kunit *test, struct drm_device *dev,
/linux/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 *, int head,
[all …]
H A Ddisp.h94 nv04_display(struct drm_device *dev) in nv04_display()
100 int nv04_display_create(struct drm_device *);
105 int nv04_crtc_create(struct drm_device *, int index);
116 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
117 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
119 void nv04_dfp_disable(struct drm_device *dev, int head);
123 int nv04_tv_identify(struct drm_device *dev, int i2c_index);
130 void nouveau_overlay_init(struct drm_device *dev);
133 nv_two_heads(struct drm_device *dev) in nv_two_heads()
146 nv_gf4_disp_arch(struct drm_device *dev) in nv_gf4_disp_arch()
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.h49 int bit_table(struct drm_device *, u8 id, struct bit_entry *);
78 struct drm_device *dev;
157 void *olddcb_table(struct drm_device *);
158 void *olddcb_outp(struct drm_device *, u8 idx);
159 int olddcb_outp_foreach(struct drm_device *, void *data,
160 int (*)(struct drm_device *, void *, int idx, u8 *outp));
161 u8 *olddcb_conntab(struct drm_device *);
162 u8 *olddcb_conn(struct drm_device *, u8 idx);
164 int nouveau_bios_init(struct drm_device *);
165 void nouveau_bios_takedown(struct drm_device *dev);
[all …]
H A Dnouveau_display.h14 nouveau_framebuffer_new(struct drm_device *dev,
22 void (*dtor)(struct drm_device *);
23 int (*init)(struct drm_device *, bool resume, bool runtime);
24 void (*fini)(struct drm_device *, bool suspend, bool runtime);
43 nouveau_display(struct drm_device *dev) in nouveau_display()
48 int nouveau_display_create(struct drm_device *dev);
49 void nouveau_display_destroy(struct drm_device *dev);
50 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime);
52 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
53 int nouveau_display_suspend(struct drm_device *dev, bool runtime);
[all …]
H A 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/drivers/gpu/drm/gma500/
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 *dev) in psb_intel_opregion_enable_asle()
H A Dpsb_drv.h378 struct drm_device dev;
539 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private()
560 int (*chip_setup)(struct drm_device *dev);
561 void (*chip_teardown)(struct drm_device *dev);
563 void (*errata)(struct drm_device *dev);
566 int (*output_init)(struct drm_device *dev);
567 int (*hotplug)(struct drm_device *dev);
568 void (*hotplug_enable)(struct drm_device *dev, bool on);
570 void (*init_pm)(struct drm_device *dev);
571 int (*save_regs)(struct drm_device *dev);
[all …]
H A 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);
H A Dpower.c46 void gma_power_init(struct drm_device *dev) in gma_power_init()
79 void gma_power_uninit(struct drm_device *dev) in gma_power_uninit()
95 static void gma_suspend_display(struct drm_device *dev) in gma_suspend_display()
112 struct drm_device *dev = pci_get_drvdata(pdev); in gma_resume_display()
136 struct drm_device *dev = pci_get_drvdata(pdev); in gma_suspend_pci()
159 struct drm_device *dev = pci_get_drvdata(pdev); in gma_resume_pci()
181 struct drm_device *dev = pci_get_drvdata(pdev); in gma_power_suspend()
198 struct drm_device *dev = pci_get_drvdata(pdev); in gma_power_resume()
214 bool gma_power_begin(struct drm_device *dev, bool force_on) in gma_power_begin()
229 void gma_power_end(struct drm_device *dev) in gma_power_end()
/linux/drivers/gpu/drm/exynos/
H A 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()
H A Dexynos_drm_gem.h53 struct exynos_drm_gem *exynos_drm_gem_create(struct drm_device *dev,
63 int exynos_drm_gem_create_ioctl(struct drm_device *dev, void *data,
67 int exynos_drm_gem_map_ioctl(struct drm_device *dev, void *data,
88 int exynos_drm_gem_get_ioctl(struct drm_device *dev, void *data,
96 struct drm_device *dev,
100 struct drm_gem_object *exynos_drm_gem_prime_import(struct drm_device *dev,
104 exynos_drm_gem_prime_import_sg_table(struct drm_device *dev,
H A Dexynos_drm_ipp.h51 struct drm_device *drm_dev;
137 int exynos_drm_ipp_get_res_ioctl(struct drm_device *dev, void *data,
139 int exynos_drm_ipp_get_caps_ioctl(struct drm_device *dev, void *data,
141 int exynos_drm_ipp_get_limits_ioctl(struct drm_device *dev, void *data,
143 int exynos_drm_ipp_commit_ioctl(struct drm_device *dev,
146 static inline int exynos_drm_ipp_get_res_ioctl(struct drm_device *dev, in exynos_drm_ipp_get_res_ioctl()
154 static inline int exynos_drm_ipp_get_caps_ioctl(struct drm_device *dev, in exynos_drm_ipp_get_caps_ioctl()
159 static inline int exynos_drm_ipp_get_limits_ioctl(struct drm_device *dev, in exynos_drm_ipp_get_limits_ioctl()
164 static inline int exynos_drm_ipp_commit_ioctl(struct drm_device *dev, in exynos_drm_ipp_commit_ioctl()
/linux/drivers/gpu/drm/tegra/
H A 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/include/drm/clients/
H A Ddrm_client_setup.h8 struct drm_device;
12 void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format);
13 void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc);
14 void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color_mode);
16 static inline void drm_client_setup(struct drm_device *dev, in drm_client_setup()
19 static inline void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc) in drm_client_setup_with_fourcc()
21 static inline void drm_client_setup_with_color_mode(struct drm_device *dev, in drm_client_setup_with_color_mode()
/linux/drivers/gpu/drm/omapdrm/
H A 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,
/linux/drivers/gpu/drm/v3d/
H A Dv3d_drv.h117 struct drm_device drm;
211 to_v3d_dev(struct drm_device *dev) in to_v3d_dev()
266 struct drm_device *dev;
542 struct drm_gem_object *v3d_create_object(struct drm_device *dev, size_t size);
544 struct v3d_bo *v3d_bo_create(struct drm_device *dev, struct drm_file *file_priv,
548 int v3d_create_bo_ioctl(struct drm_device *dev, void *data,
550 int v3d_mmap_bo_ioctl(struct drm_device *dev, void *data,
552 int v3d_get_bo_offset_ioctl(struct drm_device *dev, void *data,
554 int v3d_wait_bo_ioctl(struct drm_device *dev, void *data,
556 struct drm_gem_object *v3d_prime_import_sg_table(struct drm_device *dev,
[all …]
H A Dv3d_trace.h16 TP_PROTO(struct drm_device *dev, u32 ct1qba, u32 ct1qea),
38 TP_PROTO(struct drm_device *dev, bool is_render,
68 TP_PROTO(struct drm_device *dev,
88 TP_PROTO(struct drm_device *dev,
108 TP_PROTO(struct drm_device *dev,
128 TP_PROTO(struct drm_device *dev,
148 TP_PROTO(struct drm_device *dev, u32 iia),
167 TP_PROTO(struct drm_device *dev,
187 TP_PROTO(struct drm_device *dev, u32 cfg5, u32 cfg6),
209 TP_PROTO(struct drm_device *dev,
[all …]
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_helper.h35 int drm_sysfb_get_validated_int(struct drm_device *dev, const char *name,
37 int drm_sysfb_get_validated_int0(struct drm_device *dev, const char *name,
41 int drm_sysfb_get_width_si(struct drm_device *dev, const struct screen_info *si);
42 int drm_sysfb_get_height_si(struct drm_device *dev, const struct screen_info *si);
43 struct resource *drm_sysfb_get_memory_si(struct drm_device *dev,
46 int drm_sysfb_get_stride_si(struct drm_device *dev, const struct screen_info *si,
49 u64 drm_sysfb_get_visible_size_si(struct drm_device *dev, const struct screen_info *si,
51 const struct drm_format_info *drm_sysfb_get_format_si(struct drm_device *dev,
71 struct drm_device dev;
85 static inline struct drm_sysfb_device *to_drm_sysfb_device(struct drm_device *dev) in to_drm_sysfb_device()
[all …]

12345678910>>...25