Home
last modified time | relevance | path

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

12345678910>>...49

/linux-6.15/drivers/gpu/drm/
H A Ddrm_crtc_internal.h51 struct drm_device;
89 int drm_mode_getcrtc(struct drm_device *dev,
91 int drm_mode_setcrtc(struct drm_device *dev,
104 int drm_mode_getresources(struct drm_device *dev,
109 int drm_mode_create_dumb(struct drm_device *dev,
184 int drm_mode_getencoder(struct drm_device *dev,
219 int drm_mode_addfb2(struct drm_device *dev,
230 int drm_mode_rmfb_ioctl(struct drm_device *dev,
234 int drm_mode_getfb(struct drm_device *dev,
284 int drm_mode_getplane(struct drm_device *dev,
[all …]
H A Ddrm_internal.h53 void drm_client_debugfs_init(struct drm_device *dev);
61 bool drm_dev_needs_global_mutex(struct drm_device *dev);
92 void drm_managed_release(struct drm_device *dev);
136 int drm_getmagic(struct drm_device *dev, void *data,
138 int drm_authmagic(struct drm_device *dev, void *data,
146 bool drm_master_internal_acquire(struct drm_device *dev);
147 void drm_master_internal_release(struct drm_device *dev);
160 void drm_sysfs_lease_event(struct drm_device *dev);
163 int drm_gem_init(struct drm_device *dev);
187 void drm_debugfs_dev_fini(struct drm_device *dev);
[all …]
/linux-6.15/include/drm/
H A Ddrm_drv.h249 void (*unload) (struct drm_device *);
261 void (*release) (struct drm_device *);
325 struct drm_device *dev,
351 struct drm_device *dev,
369 struct drm_device *dev, uint32_t handle,
441 drmm_cgroup_register_region(struct drm_device *dev,
477 void drm_dev_unregister(struct drm_device *dev);
479 void drm_dev_get(struct drm_device *dev);
480 void drm_dev_put(struct drm_device *dev);
481 void drm_put_dev(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);
14 void drm_client_dev_suspend(struct drm_device *dev, bool holds_console_lock);
15 void drm_client_dev_resume(struct drm_device *dev, bool holds_console_lock);
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) in drm_client_dev_restore()
23 static inline void drm_client_dev_suspend(struct drm_device *dev, bool holds_console_lock) in drm_client_dev_suspend()
[all …]
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 int drm_atomic_helper_check(struct drm_device *dev,
67 int drm_atomic_helper_commit(struct drm_device *dev,
70 int drm_atomic_helper_async_check(struct drm_device *dev,
72 void drm_atomic_helper_async_commit(struct drm_device *dev,
97 int drm_atomic_helper_prepare_planes(struct drm_device *dev,
140 int drm_atomic_helper_disable_all(struct drm_device *dev,
144 void drm_atomic_helper_shutdown(struct drm_device *dev);
146 drm_atomic_helper_duplicate_state(struct drm_device *dev,
[all …]
H A 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_release_action(struct drm_device *dev,
80 static inline void *drmm_kmalloc_array(struct drm_device *dev, in drmm_kmalloc_array()
102 static inline void *drmm_kcalloc(struct drm_device *dev, in drmm_kcalloc()
108 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
110 void drmm_kfree(struct drm_device *dev, void *data);
112 void __drmm_mutex_release(struct drm_device *dev, void *res);
[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,
268 struct drm_property *drm_property_create_object(struct drm_device *dev,
271 struct drm_property *drm_property_create_bool(struct drm_device *dev,
277 struct drm_property_blob *drm_property_create_blob(struct drm_device *dev,
282 int drm_property_replace_blob_from_id(struct drm_device *dev,
[all …]
H A Ddrm_probe_helper.h10 struct drm_device;
20 int drmm_kms_helper_poll_init(struct drm_device *dev);
21 void drm_kms_helper_poll_init(struct drm_device *dev);
22 void drm_kms_helper_poll_fini(struct drm_device *dev);
23 bool drm_helper_hpd_irq_event(struct drm_device *dev);
25 void drm_kms_helper_hotplug_event(struct drm_device *dev);
28 void drm_kms_helper_poll_disable(struct drm_device *dev);
29 void drm_kms_helper_poll_enable(struct drm_device *dev);
30 void drm_kms_helper_poll_reschedule(struct drm_device *dev);
/linux-6.15/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,
27 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data,
29 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
33 int i915_gem_pread_ioctl(struct drm_device *dev, void *data,
35 int i915_gem_pwrite_ioctl(struct drm_device *dev, void *data,
47 int i915_gem_userptr_ioctl(struct drm_device *dev, void *data,
[all …]
/linux-6.15/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h41 void NVSetOwner(struct drm_device *, int owner);
48 void nouveau_hw_save_state(struct drm_device *, int head,
50 void nouveau_hw_load_state(struct drm_device *, int head,
59 static inline uint32_t NVReadCRTC(struct drm_device *dev, in NVReadCRTC()
70 static inline void NVWriteCRTC(struct drm_device *dev, in NVWriteCRTC()
90 static inline void NVWriteRAMDAC(struct drm_device *dev, in NVWriteRAMDAC()
109 static inline void nv_write_tmds(struct drm_device *dev, in nv_write_tmds()
119 static inline void NVWriteVgaCrtc(struct drm_device *dev, in NVWriteVgaCrtc()
180 static inline void NVWritePRMVIO(struct drm_device *dev, in NVWritePRMVIO()
259 nv_heads_tied(struct drm_device *dev) in nv_heads_tied()
[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);
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()
152 nv_two_reg_pll(struct drm_device *dev) in nv_two_reg_pll()
163 nv_match_device(struct drm_device *dev, unsigned device, in nv_match_device()
[all …]
/linux-6.15/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,
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);
166 int nouveau_run_vbios_init(struct drm_device *);
[all …]
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);
50 int nouveau_display_suspend(struct drm_device *dev, bool runtime);
51 void nouveau_display_resume(struct drm_device *dev, bool runtime);
59 int nouveau_display_dumb_create(struct drm_file *, struct drm_device *,
[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-6.15/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_intel_drv.h66 size_t(*bo_offset) (struct drm_device *dev, void *bo);
86 struct drm_device *drm_dev;
187 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe,
190 extern void psb_intel_lvds_init(struct drm_device *dev,
193 extern void oaktrail_lvds_init(struct drm_device *dev,
222 extern void gma_intel_i2c_reset(struct drm_device *dev);
223 extern int gma_intel_setup_gmbus(struct drm_device *dev);
226 extern void gma_intel_teardown_gmbus(struct drm_device *dev);
234 extern int cdv_sb_read(struct drm_device *dev, u32 reg, u32 *val);
235 extern int cdv_sb_write(struct drm_device *dev, u32 reg, u32 val);
[all …]
H A Dpsb_drv.h378 struct drm_device dev;
560 int (*chip_setup)(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);
570 void (*init_pm)(struct drm_device *dev);
571 int (*save_regs)(struct drm_device *dev);
572 int (*restore_regs)(struct drm_device *dev);
575 int (*power_up)(struct drm_device *dev);
576 int (*power_down)(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);
/linux-6.15/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()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.h50 struct drm_device *dev,
53 struct drm_device *dev,
56 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data,
58 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data,
60 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data,
62 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data,
64 int amdgpu_gem_wait_idle_ioctl(struct drm_device *dev, void *data,
67 int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,
69 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
72 int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
/linux-6.15/drivers/gpu/drm/vc4/
H A Dvc4_drv.h28 struct drm_device;
92 struct drm_device base;
284 struct drm_device *dev;
908 struct drm_device *dev,
924 int vc4_bo_cache_init(struct drm_device *dev);
991 int vc4_gem_init(struct drm_device *dev);
1017 void vc4_irq_enable(struct drm_device *dev);
1018 void vc4_irq_disable(struct drm_device *dev);
1021 void vc4_irq_reset(struct drm_device *dev);
1042 int vc4_kms_load(struct drm_device *dev);
[all …]
/linux-6.15/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-6.15/drivers/gpu/drm/msm/
H A Dmsm_drv.h77 struct drm_device *dev;
83 struct drm_device *dev;
86 int (*kms_init)(struct drm_device *dev);
245 bool msm_use_mmu(struct drm_device *dev);
247 int msm_ioctl_gem_submit(struct drm_device *dev, void *data,
254 int msm_gem_shrinker_init(struct drm_device *dev);
255 void msm_gem_shrinker_cleanup(struct drm_device *dev);
327 struct drm_device *dev, in msm_dsi_modeset_init()
384 struct drm_device *dev, in msm_dp_modeset_init()
448 int msm_debugfs_late_init(struct drm_device *dev);
[all …]
/linux-6.15/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-6.15/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,

12345678910>>...49