/
usr
/
src
/
kernels
/
4.18.0-553.157.1.el8_10.x86_64
/
include
/
drm
/
/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/drm
mkdir
upload
Name
Size
Mode
Actions
bridge/
-
0755
rm
display/
-
0755
rm
i2c/
-
0755
rm
ttm/
-
0755
rm
amd_asic_type.h
2228
0644
edit
dl
rm
drm_accel.h
2502
0644
edit
dl
rm
drm_aperture.h
1160
0644
edit
dl
rm
drm_atomic.h
42345
0644
edit
dl
rm
drm_atomic_helper.h
9998
0644
edit
dl
rm
drm_atomic_state_helper.h
4529
0644
edit
dl
rm
drm_atomic_uapi.h
2111
0644
edit
dl
rm
drm_audio_component.h
3935
0644
edit
dl
rm
drm_auth.h
4754
0644
edit
dl
rm
drm_blend.h
2407
0644
edit
dl
rm
drm_bridge.h
34436
0644
edit
dl
rm
drm_bridge_connector.h
405
0644
edit
dl
rm
drm_buddy.h
4227
0644
edit
dl
rm
drm_cache.h
3377
0644
edit
dl
rm
drm_client.h
5166
0644
edit
dl
rm
drm_color_mgmt.h
3884
0644
edit
dl
rm
drm_connector.h
63549
0644
edit
dl
rm
drm_crtc.h
45886
0644
edit
dl
rm
drm_crtc_helper.h
2567
0644
edit
dl
rm
drm_damage_helper.h
3408
0644
edit
dl
rm
drm_debugfs.h
5058
0644
edit
dl
rm
drm_debugfs_crc.h
2723
0644
edit
dl
rm
drm_device.h
9416
0644
edit
dl
rm
drm_displayid.h
4949
0644
edit
dl
rm
drm_drv.h
19744
0644
edit
dl
rm
drm_edid.h
20399
0644
edit
dl
rm
drm_encoder.h
11087
0644
edit
dl
rm
drm_encoder_slave.h
6614
0644
edit
dl
rm
drm_fbdev_generic.h
349
0644
edit
dl
rm
drm_fb_dma_helper.h
575
0644
edit
dl
rm
drm_fb_helper.h
14380
0644
edit
dl
rm
drm_file.h
12827
0644
edit
dl
rm
drm_fixed.h
4993
0644
edit
dl
rm
drm_flip_work.h
3080
0644
edit
dl
rm
drm_format_helper.h
3319
0644
edit
dl
rm
drm_fourcc.h
10096
0644
edit
dl
rm
drm_framebuffer.h
10856
0644
edit
dl
rm
drm_gem.h
13646
0644
edit
dl
rm
drm_gem_atomic_helper.h
5360
0644
edit
dl
rm
drm_gem_dma_helper.h
9766
0644
edit
dl
rm
drm_gem_framebuffer_helper.h
1973
0644
edit
dl
rm
drm_gem_shmem_helper.h
8597
0644
edit
dl
rm
drm_gem_ttm_helper.h
822
0644
edit
dl
rm
drm_gem_vram_helper.h
6286
0644
edit
dl
rm
drm_ioctl.h
6320
0644
edit
dl
rm
drm_kunit_helpers.h
3072
0644
edit
dl
rm
drm_lease.h
1010
0644
edit
dl
rm
drm_legacy.h
9617
0644
edit
dl
rm
drm_managed.h
3992
0644
edit
dl
rm
drm_mipi_dbi.h
6953
0644
edit
dl
rm
drm_mipi_dsi.h
13449
0644
edit
dl
rm
drm_mm.h
17950
0644
edit
dl
rm
drm_modes.h
20381
0644
edit
dl
rm
drm_modeset_helper.h
1814
0644
edit
dl
rm
drm_modeset_helper_vtables.h
59622
0644
edit
dl
rm
drm_modeset_lock.h
7244
0644
edit
dl
rm
drm_mode_config.h
33729
0644
edit
dl
rm
drm_mode_object.h
5587
0644
edit
dl
rm
drm_module.h
3808
0644
edit
dl
rm
drm_of.h
5016
0644
edit
dl
rm
drm_panel.h
7100
0644
edit
dl
rm
drm_pciids.h
62502
0644
edit
dl
rm
drm_plane.h
30811
0644
edit
dl
rm
drm_plane_helper.h
2391
0644
edit
dl
rm
drm_prime.h
4162
0644
edit
dl
rm
drm_print.h
19215
0644
edit
dl
rm
drm_privacy_screen_consumer.h
1983
0644
edit
dl
rm
drm_privacy_screen_driver.h
3058
0644
edit
dl
rm
drm_privacy_screen_machine.h
1281
0644
edit
dl
rm
drm_probe_helper.h
1607
0644
edit
dl
rm
drm_property.h
12042
0644
edit
dl
rm
drm_rect.h
7338
0644
edit
dl
rm
drm_self_refresh_helper.h
594
0644
edit
dl
rm
drm_simple_kms_helper.h
9744
0644
edit
dl
rm
drm_syncobj.h
3943
0644
edit
dl
rm
drm_sysfs.h
515
0644
edit
dl
rm
drm_util.h
2642
0644
edit
dl
rm
drm_utils.h
504
0644
edit
dl
rm
drm_vblank.h
9255
0644
edit
dl
rm
drm_vblank_work.h
1956
0644
edit
dl
rm
drm_vma_manager.h
8428
0644
edit
dl
rm
drm_writeback.h
4552
0644
edit
dl
rm
gma_drm.h
413
0644
edit
dl
rm
gpu_scheduler.h
19364
0644
edit
dl
rm
gud.h
11934
0644
edit
dl
rm
i915_component.h
1825
0644
edit
dl
rm
i915_drm.h
3655
0644
edit
dl
rm
i915_mei_hdcp_interface.h
5907
0644
edit
dl
rm
i915_pciids.h
24003
0644
edit
dl
rm
i915_pxp_tee_interface.h
1250
0644
edit
dl
rm
intel-gtt.h
1015
0644
edit
dl
rm
intel_lpe_audio.h
1758
0644
edit
dl
rm
spsc_queue.h
3131
0644
edit
dl
rm
task_barrier.h
3020
0644
edit
dl
rm
Edit:
/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/drm/drm_client.h
(5166B)
/* SPDX-License-Identifier: GPL-2.0 or MIT */ #ifndef _DRM_CLIENT_H_ #define _DRM_CLIENT_H_ #include <linux/iosys-map.h> #include <linux/lockdep.h> #include <linux/mutex.h> #include <linux/types.h> #include <drm/drm_connector.h> #include <drm/drm_crtc.h> struct drm_client_dev; struct drm_device; struct drm_file; struct drm_framebuffer; struct drm_gem_object; struct drm_minor; struct module; /** * struct drm_client_funcs - DRM client callbacks */ struct drm_client_funcs { /** * @owner: The module owner */ struct module *owner; /** * @unregister: * * Called when &drm_device is unregistered. The client should respond by * releasing its resources using drm_client_release(). * * This callback is optional. */ void (*unregister)(struct drm_client_dev *client); /** * @restore: * * Called on drm_lastclose(). The first client instance in the list that * returns zero gets the privilege to restore and no more clients are * called. This callback is not called after @unregister has been called. * * Note that the core does not guarantee exclusion against concurrent * drm_open(). Clients need to ensure this themselves, for example by * using drm_master_internal_acquire() and * drm_master_internal_release(). * * This callback is optional. */ int (*restore)(struct drm_client_dev *client); /** * @hotplug: * * Called on drm_kms_helper_hotplug_event(). * This callback is not called after @unregister has been called. * * This callback is optional. */ int (*hotplug)(struct drm_client_dev *client); }; /** * struct drm_client_dev - DRM client instance */ struct drm_client_dev { /** * @dev: DRM device */ struct drm_device *dev; /** * @name: Name of the client. */ const char *name; /** * @list: * * List of all clients of a DRM device, linked into * &drm_device.clientlist. Protected by &drm_device.clientlist_mutex. */ struct list_head list; /** * @funcs: DRM client functions (optional) */ const struct drm_client_funcs *funcs; /** * @file: DRM file */ struct drm_file *file; /** * @modeset_mutex: Protects @modesets. */ struct mutex modeset_mutex; /** * @modesets: CRTC configurations */ struct drm_mode_set *modesets; /** * @hotplug_failed: * * Set by client hotplug helpers if the hotplugging failed * before. It is usually not tried again. */ bool hotplug_failed; }; int drm_client_init(struct drm_device *dev, struct drm_client_dev *client, const char *name, const struct drm_client_funcs *funcs); void drm_client_release(struct drm_client_dev *client); void drm_client_register(struct drm_client_dev *client); void drm_client_dev_unregister(struct drm_device *dev); void drm_client_dev_hotplug(struct drm_device *dev); void drm_client_dev_restore(struct drm_device *dev); /** * struct drm_client_buffer - DRM client buffer */ struct drm_client_buffer { /** * @client: DRM client */ struct drm_client_dev *client; /** * @pitch: Buffer pitch */ u32 pitch; /** * @gem: GEM object backing this buffer */ struct drm_gem_object *gem; /** * @map: Virtual address for the buffer */ struct iosys_map map; /** * @fb: DRM framebuffer */ struct drm_framebuffer *fb; }; struct drm_client_buffer * drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format); void drm_client_framebuffer_delete(struct drm_client_buffer *buffer); int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect); int drm_client_buffer_vmap(struct drm_client_buffer *buffer, struct iosys_map *map); void drm_client_buffer_vunmap(struct drm_client_buffer *buffer); int drm_client_modeset_create(struct drm_client_dev *client); void drm_client_modeset_free(struct drm_client_dev *client); int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height); bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation); int drm_client_modeset_check(struct drm_client_dev *client); int drm_client_modeset_commit_locked(struct drm_client_dev *client); int drm_client_modeset_commit(struct drm_client_dev *client); int drm_client_modeset_dpms(struct drm_client_dev *client, int mode); /** * drm_client_for_each_modeset() - Iterate over client modesets * @modeset: &drm_mode_set loop cursor * @client: DRM client */ #define drm_client_for_each_modeset(modeset, client) \ for (({ lockdep_assert_held(&(client)->modeset_mutex); }), \ modeset = (client)->modesets; modeset->crtc; modeset++) /** * drm_client_for_each_connector_iter - connector_list iterator macro * @connector: &struct drm_connector pointer used as cursor * @iter: &struct drm_connector_list_iter * * This iterates the connectors that are useable for internal clients (excludes * writeback connectors). * * For more info see drm_for_each_connector_iter(). */ #define drm_client_for_each_connector_iter(connector, iter) \ drm_for_each_connector_iter(connector, iter) \ if (connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK) void drm_client_debugfs_init(struct drm_minor *minor); #endif
Save
cmd:
run