| /linux/include/drm/ | 
| H A D | drm_modeset_lock.h | 78  * struct drm_modeset_lock - used for locking modeset resources.83  * Used for locking CRTCs and other modeset resources.
 87 	 * modeset lock
 152  * DRM_MODESET_LOCK_ALL_BEGIN - Helper to acquire modeset locks
 154  * @ctx: local modeset acquire context, will be dereferenced
 158  * Use these macros to simplify grabbing all modeset locks using a local
 162  * Any code run between BEGIN and END will be holding the modeset locks.
 167  * Drivers can acquire additional modeset locks. If any lock acquisition
 185  * DRM_MODESET_LOCK_ALL_END - Helper to release and cleanup modeset locks
 187  * @ctx: local modeset acquire context, will be dereferenced
 
 | 
| H A D | drm_module.h | 62 drm_pci_register_driver_if_modeset(struct pci_driver *pci_drv, int modeset)  in drm_pci_register_driver_if_modeset()  argument64 	if (drm_firmware_drivers_only() && modeset == -1)  in drm_pci_register_driver_if_modeset()
 66 	if (modeset == 0)  in drm_pci_register_driver_if_modeset()
 73 drm_pci_unregister_driver_if_modeset(struct pci_driver *pci_drv, int modeset)  in drm_pci_unregister_driver_if_modeset()  argument
 
 | 
| H A D | drm_property.h | 55  * struct drm_property - modeset object property57  * This structure represent a modeset object property. It combines both the name
 65  * symbolic property will have the same modeset object ID on all modeset
 76  * IOCTL. Everything that was set directly in structures in the legacy modeset
 125 	 *     Object properties are used to link modeset objects. This is used
 155 	 *     Set for properties which encode atomic modeset state. Such
 
 | 
| H A D | drm_mode_config.h | 115 	 * This is the only hook to validate an atomic modeset update. This116 	 * function must reject any modeset and state changes which the hardware
 149 	 *    updates which require a full modeset (i.e. blanking the screen, or
 162 	 * an atomic modeset update is described.
 192 	 * This is the only hook to commit an atomic modeset update. The core
 198 	 * an atomic modeset update is described.
 212 	 * modeset this must be guaranteed.
 266 	 * additional modeset locks).
 364 	 * This is the big scary modeset BKL which protects everything that
 497 	 * the display hardware or modeset software state, which the panic
 
 | 
| H A D | drm_ioctl.h | 92 	 * This must be set for any ioctl which can change the modeset or96 	 * Note that read-only modeset ioctl can also be called by
 
 | 
| /linux/drivers/gpu/drm/ | 
| H A D | drm_modeset_helper.c | 38  * anywhere else in the DRM modeset helper library.104  * This is the minimal list of formats that seem to be safe for modeset use
 180  * drm_mode_config_helper_suspend - Modeset suspend helper
 183  * This helper function takes care of suspending the modeset side. It disables
 227  * drm_mode_config_helper_resume - Modeset resume helper
 230  * This helper function takes care of resuming the modeset side. It calls
 
 | 
| H A D | drm_encoder.c | 49  * Otherwise encoders aren't used in the uapi at all (any modeset request from51  * free to use them however they wish. Modeset helper libraries make strong use
 312 	 * protected by modeset locks, so check those first. */  in drm_encoder_get_crtc()
 
 | 
| H A D | drm_lease.c | 491 	/* Can't lease without MODESET */  in drm_mode_create_lease_ioctl()602 	/* Can't lease without MODESET */  in drm_mode_list_lessees_ioctl()
 653 	/* Can't lease without MODESET */  in drm_mode_get_lease_ioctl()
 705 	/* Can't lease without MODESET */  in drm_mode_revoke_lease_ioctl()
 
 | 
| H A D | Kconfig | 156 	  Enable debug tracing of failures to gracefully handle drm modeset lock157 	  contention. A history of each drm modeset lock path hitting -EDEADLK
 
 | 
| /linux/drivers/gpu/drm/loongson/ | 
| H A D | loongson_module.c | 13 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");14 module_param_named(modeset, loongson_modeset, int, 0400);
 
 | 
| /linux/drivers/gpu/drm/msm/disp/mdp5/ | 
| H A D | mdp5_mixer.c | 87 		 * without requiring a full modeset if we had already  in mdp5_mixer_assign()91 		 * result in the CRTC requiring a full modeset, even  in mdp5_mixer_assign()
 95 		 * a full modeset.  in mdp5_mixer_assign()
 
 | 
| H A D | mdp5_encoder.c | 146 	 * the settings changes for the new modeset (like new  in mdp5_vid_encoder_disable()231 	 * modeset case, this is done from crtc->atomic_flush(), but that  in mdp5_encoder_atomic_check()
 232 	 * is too early in the case of full modeset, in which case we  in mdp5_encoder_atomic_check()
 
 | 
| /linux/drivers/gpu/drm/nouveau/dispnv50/ | 
| H A D | wndw.c | 275 nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset,  in nv50_wndw_atomic_check_acquire()  argument288 	if (fb != armw->state.fb || !armw->visible || modeset) {  in nv50_wndw_atomic_check_acquire()
 389 		 * that do a modeset before providing a gamma table.  in nv50_wndw_atomic_check_lut()
 453 	bool modeset = false;  in nv50_wndw_atomic_check()  local
 465 		modeset = drm_atomic_crtc_needs_modeset(&asyh->state);  in nv50_wndw_atomic_check()
 491 		ret = nv50_wndw_atomic_check_acquire(wndw, modeset,  in nv50_wndw_atomic_check()
 507 	 * when performing certain modeset operations.  in nv50_wndw_atomic_check()
 509 	if (!asyw->visible || modeset) {  in nv50_wndw_atomic_check()
 
 | 
| /linux/drivers/gpu/drm/vboxvideo/ | 
| H A D | vbox_drv.c | 30 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");31 module_param_named(modeset, vbox_modeset, int, 0400);
 
 | 
| H A D | vbox_drv.h | 66 	struct mutex hw_mutex; /* protects modeset and accel/vbva accesses */106 	 * This means that sometimes we must do a modeset on other crtc-s then
 
 | 
| /linux/drivers/gpu/drm/nouveau/dispnv04/ | 
| H A D | disp.c | 107 	/* meh.. modeset apparently doesn't setup all the regs and depends  in nv04_display_init()109 	 * nouveau was loaded, and then do a modeset.  in nv04_display_init()
 155 	/* Force CLUT to get re-loaded during modeset. */  in nv04_display_init()
 
 | 
| /linux/drivers/gpu/drm/virtio/ | 
| H A D | virtgpu_drv.c | 51 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");52 module_param_named(modeset, virtio_gpu_modeset, int, 0400);
 
 | 
| /linux/drivers/gpu/drm/gma500/ | 
| H A D | framebuffer.c | 213         dev_priv->modeset = true;  in psb_modeset_init()219 	if (dev_priv->modeset) {  in psb_modeset_cleanup()
 
 | 
| /linux/rust/kernel/drm/ | 
| H A D | ioctl.rs | 46 /// This must be set for any ioctl which can change the modeset or display state. Userspace must49 /// Note that read-only modeset ioctl can also be called by unauthenticated clients, or when a
 
 | 
| /linux/drivers/gpu/drm/qxl/ | 
| H A D | qxl_drv.c | 63 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");64 module_param_named(modeset, qxl_modeset, int, 0400);
 
 | 
| /linux/drivers/gpu/drm/udl/ | 
| H A D | udl_proto.h | 49 #define UDL_BLANKMODE_POWERDOWN		0x07 /* powered off; requires modeset */
 | 
| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | x-powers,axp152.yaml | 147       Set this when the PMIC is wired for self-working mode through the MODESET153       Set this when the PMIC is wired for master mode through the MODESET pin.
 
 | 
| /linux/Documentation/process/ | 
| H A D | botching-up-ioctls.rst | 186    are truly device-unique. One counterexample in the drm modeset interfaces is187    that the per-device modeset objects like connectors share a namespace with
 
 | 
| /linux/drivers/gpu/drm/i915/ | 
| H A D | i915_params.h | 49 	param(int, modeset, -1, 0400) \
 | 
| /linux/drivers/gpu/drm/arm/display/komeda/ | 
| H A D | komeda_crtc.c | 352 	 *    the crtc->commit is not for disable, but a modeset operation when  in komeda_crtc_atomic_disable()360 	 *    That's also the reason why skip modeset commit in  in komeda_crtc_atomic_disable()
 393 	/* commit with modeset will be handled in enable/disable */  in komeda_crtc_atomic_flush()
 
 |