| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_client_modeset.c | 40 struct drm_mode_set *modeset; in drm_client_modeset_create() local 58 for (modeset = client->modesets; modeset->crtc; modeset++) { in drm_client_modeset_create() 59 modeset->connectors = kcalloc(max_connector_count, in drm_client_modeset_create() 60 sizeof(*modeset->connectors), GFP_KERNEL); in drm_client_modeset_create() 61 if (!modeset->connectors) in drm_client_modeset_create() 75 struct drm_mode_set *modeset; in drm_client_modeset_release() local 78 drm_client_for_each_modeset(modeset, client) { in drm_client_modeset_release() 79 drm_mode_destroy(client->dev, modeset->mode); in drm_client_modeset_release() 80 modeset->mode = NULL; in drm_client_modeset_release() 81 modeset->fb = NULL; in drm_client_modeset_release() [all …]
|
| D | drm_modeset_lock.c | 63 * where all modeset locks need to be taken through drm_modeset_lock_all_ctx(). 65 * If all that is needed is a single modeset lock, then the &struct 129 * drm_modeset_lock_all - take all modeset locks 132 * This function takes all modeset locks, suitable where a more fine-grained 184 * drm_modeset_unlock_all - drop all modeset locks 187 * This function drops all modeset locks taken by a previous call to the 216 * drm_warn_on_modeset_not_all_locked - check that all modeset locks are locked 375 * drm_modeset_lock - take modeset lock 404 * drm_modeset_lock_single_interruptible - take a single modeset lock 419 * drm_modeset_unlock - drop modeset lock [all …]
|
| D | drm_modeset_helper.c | 36 * anywhere else in the DRM modeset helper library. 100 * This is the minimal list of formats that seem to be safe for modeset use 176 * drm_mode_config_helper_suspend - Modeset suspend helper 179 * This helper function takes care of suspending the modeset side. It disables 222 * drm_mode_config_helper_resume - Modeset resume helper 225 * This helper function takes care of resuming the modeset side. It calls
|
| D | drm_mode_object.c | 68 * drm_mode_object_add - allocate a new modeset identifier 94 * drm_mode_object_unregister - free a modeset identifier 101 * These modeset identifiers are _not_ reference counted. Hence don't use this 102 * for reference counted modeset objects like framebuffers. 171 * This function is used to look up a modeset object. It will acquire a 190 * This function decrements the object's refcount if it is a refcounted modeset 207 * This function increments the object's refcount if it is a refcounted modeset 221 * drm_object_attach_property - attach a property to a modeset object 222 * @obj: drm modeset object 226 * This attaches the given property to the modeset object with the given initial
|
| D | drm_fb_helper.c | 115 * same time, drivers should initialize all modeset objects such as CRTCs, 850 struct drm_mode_set *modeset; in setcmap_legacy() local 856 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_legacy() 857 crtc = modeset->crtc; in setcmap_legacy() 938 struct drm_mode_set *modeset; in setcmap_atomic() local 954 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_atomic() 955 crtc = modeset->crtc; in setcmap_atomic() 988 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_atomic() 989 crtc = modeset->crtc; in setcmap_atomic() 1401 struct drm_mode_set *modeset; in pan_display_legacy() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_client_modeset.c | 37 struct drm_mode_set *modeset; in drm_client_modeset_create() local 55 for (modeset = client->modesets; modeset->crtc; modeset++) { in drm_client_modeset_create() 56 modeset->connectors = kcalloc(max_connector_count, in drm_client_modeset_create() 57 sizeof(*modeset->connectors), GFP_KERNEL); in drm_client_modeset_create() 58 if (!modeset->connectors) in drm_client_modeset_create() 72 struct drm_mode_set *modeset; in drm_client_modeset_release() local 75 drm_client_for_each_modeset(modeset, client) { in drm_client_modeset_release() 76 drm_mode_destroy(client->dev, modeset->mode); in drm_client_modeset_release() 77 modeset->mode = NULL; in drm_client_modeset_release() 78 modeset->fb = NULL; in drm_client_modeset_release() [all …]
|
| D | drm_modeset_lock.c | 62 * where all modeset locks need to be taken through drm_modeset_lock_all_ctx(). 64 * If all that is needed is a single modeset lock, then the &struct 81 * drm_modeset_lock_all - take all modeset locks 84 * This function takes all modeset locks, suitable where a more fine-grained 136 * drm_modeset_unlock_all - drop all modeset locks 139 * This function drops all modeset locks taken by a previous call to the 168 * drm_warn_on_modeset_not_all_locked - check that all modeset locks are locked 321 * drm_modeset_lock - take modeset lock 350 * drm_modeset_lock_single_interruptible - take a single modeset lock 365 * drm_modeset_unlock - drop modeset lock [all …]
|
| D | drm_modeset_helper.c | 35 * anywhere else in the DRM modeset helper library. 99 * This is the minimal list of formats that seem to be safe for modeset use 181 * drm_mode_config_helper_suspend - Modeset suspend helper 184 * This helper function takes care of suspending the modeset side. It disables 218 * drm_mode_config_helper_resume - Modeset resume helper 221 * This helper function takes care of resuming the modeset side. It calls
|
| D | drm_mode_object.c | 68 * drm_mode_object_add - allocate a new modeset identifier 94 * drm_mode_object_unregister - free a modeset identifer 101 * These modeset identifiers are _not_ reference counted. Hence don't use this 102 * for reference counted modeset objects like framebuffers. 169 * This function is used to look up a modeset object. It will acquire a 188 * This function decrements the object's refcount if it is a refcounted modeset 205 * This function increments the object's refcount if it is a refcounted modeset 219 * drm_object_attach_property - attach a property to a modeset object 220 * @obj: drm modeset object 224 * This attaches the given property to the modeset object with the given initial
|
| D | drm_fb_helper.c | 116 * same time, drivers should initialize all modeset objects such as CRTCs, 918 struct drm_mode_set *modeset; in setcmap_legacy() local 924 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_legacy() 925 crtc = modeset->crtc; in setcmap_legacy() 1006 struct drm_mode_set *modeset; in setcmap_atomic() local 1022 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_atomic() 1023 crtc = modeset->crtc; in setcmap_atomic() 1051 drm_client_for_each_modeset(modeset, &fb_helper->client) { in setcmap_atomic() 1052 crtc = modeset->crtc; in setcmap_atomic() 1418 struct drm_mode_set *modeset; in pan_display_legacy() local [all …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_modeset_lock.h | 69 * struct drm_modeset_lock - used for locking modeset resources. 74 * Used for locking CRTCs and other modeset resources. 78 * modeset lock 143 * DRM_MODESET_LOCK_ALL_BEGIN - Helper to acquire modeset locks 145 * @ctx: local modeset acquire context, will be dereferenced 149 * Use these macros to simplify grabbing all modeset locks using a local 153 * Any code run between BEGIN and END will be holding the modeset locks. 158 * Drivers can acquire additional modeset locks. If any lock acquisition 176 * DRM_MODESET_LOCK_ALL_END - Helper to release and cleanup modeset locks 178 * @ctx: local modeset acquire context, will be dereferenced
|
| D | drm_client.h | 164 bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation); 172 * @modeset: &drm_mode_set loop cursor 175 #define drm_client_for_each_modeset(modeset, client) \ argument 177 modeset = (client)->modesets; modeset->crtc; modeset++)
|
| D | drm_modeset_helper_vtables.h | 44 * Because there is only one pointer per modeset object to hold a vfunc table 83 * This callback should prepare the CRTC for a subsequent modeset, which 98 * This callback should commit the new mode on the CRTC after a modeset, 152 * to adjusted_mode it should reject the modeset. See also 184 * True if an acceptable configuration is possible, false if the modeset 198 * modeset support. 240 * drm_crtc_helper_set_config() will fall back to a full modeset, using 242 * incompatible with atomic modeset support. 332 * This callback is used by the atomic modeset helpers and by the 373 * This callback is used by the atomic modeset helpers and by the [all …]
|
| D | drm_property.h | 48 * struct drm_property - modeset object property 50 * This structure represent a modeset object property. It combines both the name 58 * symbolic property will have the same modeset object ID on all modeset 69 * IOCTL. Everything that was set directly in structures in the legacy modeset 118 * Object properties are used to link modeset objects. This is used 148 * Set for properties which encode atomic modeset state. Such
|
| /kernel/linux/linux-6.6/include/drm/ |
| 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
|
| D | drm_client.h | 169 bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation); 177 * @modeset: &drm_mode_set loop cursor 180 #define drm_client_for_each_modeset(modeset, client) \ argument 182 modeset = (client)->modesets; modeset->crtc; modeset++)
|
| 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() argument 64 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
|
| D | drm_modeset_helper_vtables.h | 44 * Because there is only one pointer per modeset object to hold a vfunc table 87 * This callback should prepare the CRTC for a subsequent modeset, which 102 * This callback should commit the new mode on the CRTC after a modeset, 156 * to adjusted_mode it should reject the modeset. See also 188 * True if an acceptable configuration is possible, false if the modeset 202 * modeset support. 242 * drm_crtc_helper_set_config() will fall back to a full modeset, using 244 * incompatible with atomic modeset support. 334 * This callback is used by the atomic modeset helpers, but it is 374 * This callback is used by the atomic modeset helpers, but it is [all …]
|
| D | drm_property.h | 55 * struct drm_property - modeset object property 57 * 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
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_atomic.c | 25 * DOC: atomic modeset support 28 * dispatch required by the atomic modeset infrastructure. 136 * up in a modeset. in intel_digital_connector_atomic_check() 174 * intel_connector_needs_modeset - check if connector needs a modeset 175 * @state: the atomic state corresponding to this modeset 194 * intel_any_crtc_needs_modeset - check if any CRTC needs a modeset 195 * @state: the atomic state corresponding to this modeset 197 * Returns true if any CRTC in @state needs a modeset. 348 state->dpll_set = state->modeset = false; in intel_atomic_state_clear()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_module.c | 28 * either the i915.modeset parameter or by the in i915_check_nomodeset() 32 if (i915_modparams.modeset == 0) in i915_check_nomodeset() 35 if (drm_firmware_drivers_only() && i915_modparams.modeset == -1) in i915_check_nomodeset()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
| D | loongson_module.c | 13 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting"); 14 module_param_named(modeset, loongson_modeset, int, 0400);
|
| /kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
| D | isif.c | 208 cul->en_lpf << ISIF_LPF_SHIFT, MODESET); in isif_config_culling() 557 * Configure the vertical sync polarity(MODESET.VDPOL) in isif_config_raw() 558 * Configure the horizontal sync polarity (MODESET.HDPOL) in isif_config_raw() 559 * Configure frame id polarity (MODESET.FLDPOL) in isif_config_raw() 576 regw(val, MODESET); in isif_config_raw() 577 dev_dbg(isif_cfg.dev, "Writing 0x%x to MODESET...\n", val); in isif_config_raw() 837 return (regr(MODESET) >> 15) & 0x1; in isif_getfid() 878 u32 modeset = 0, ccdcfg = 0; in isif_config_ycbcr() local 883 modeset = modeset | (params->pix_fmt << ISIF_INPUT_SHIFT) | in isif_config_ycbcr() 896 modeset |= (VPFE_PINPOL_NEGATIVE << ISIF_VD_POL_SHIFT); in isif_config_ycbcr() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ci/ |
| D | testlist.txt | 118 kms_atomic_transition@plane-all-modeset-transition 119 kms_atomic_transition@plane-all-modeset-transition-fencing 120 kms_atomic_transition@plane-all-modeset-transition-internal-panels 121 kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels 122 kms_atomic_transition@plane-toggle-modeset-transition 123 kms_atomic_transition@modeset-transition 124 kms_atomic_transition@modeset-transition-fencing 125 kms_atomic_transition@modeset-transition-nonblocking 126 kms_atomic_transition@modeset-transition-nonblocking-fencing 289 kms_big_joiner@invalid-modeset [all …]
|
| /kernel/linux/linux-5.10/Documentation/gpu/ |
| D | todo.rst | 44 3.19 has the atomic modeset interfaces and helpers, so drivers can now be 46 really want an atomic modeset interface, so this is all about the bright 100 For the first year the atomic modeset helpers didn't support asynchronous / 184 Convert drivers to use simple modeset suspend/resume 190 of the atomic suspend/resume code in older atomic modeset drivers. 303 For cases where drivers are attempting to grab the modeset locks with a local 375 Consolidate custom driver modeset properties 378 Before atomic modeset took place, many drivers where creating their own 483 attempt a synchronous modeset from panic handlers. The only thing we could 585 converting things over. For modeset tests we also first need a bit of [all …]
|