Searched refs:mode_config (Results 1 - 16 of 16) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_crtc_helper.c63 &dev->mode_config.connector_list, head) {
68 tmp2 = dev->mode_config.connector_list.next;
69 list_splice(&panel_list, &dev->mode_config.connector_list, tmp2);
103 * Based on @dev's mode_config layout, scan all the connectors and try to detect
144 if (drm_kms_helper_poll != dev->mode_config.poll_running)
147 dev->mode_config.poll_running = drm_kms_helper_poll;
215 * Walk @encoders's DRM device's mode_config and see if it's in use.
218 * True if @encoder is part of the mode_config, false otherwise.
224 list_for_each_entry(connector, struct drm_connector, &dev->mode_config.connector_list, head)
231 * drm_helper_crtc_in_use - check if a given CRTC is in a mode_config
[all...]
H A Ddrm_crtc.c54 mutex_lock(&dev->mode_config.mutex);
56 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head)
68 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head)
71 mutex_unlock(&dev->mode_config.mutex);
274 if (idr_pre_get(&dev->mode_config.crtc_idr, GFP_KERNEL) == 0) {
279 mutex_lock(&dev->mode_config.idr_mutex);
280 ret = idr_get_new_above(&dev->mode_config.crtc_idr, obj, 1, &new_id);
290 mutex_unlock(&dev->mode_config.idr_mutex);
308 mutex_lock(&dev->mode_config.idr_mutex);
309 (void) idr_remove(&dev->mode_config
[all...]
H A Ddrm_fb_helper.c84 list_for_each_entry(connector, struct drm_connector, &dev->mode_config.connector_list, head) {
165 list_for_each_entry(c, struct drm_crtc, &dev->mode_config.crtc_list, head) {
185 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head)
231 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
251 kfree(helper->connector_info, dev->mode_config.num_connector * sizeof(struct drm_fb_helper_connector *));
277 fb_helper->connector_info = kcalloc(dev->mode_config.num_connector, sizeof(struct drm_fb_helper_connector *), GFP_KERNEL);
296 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
665 int num_connector = dev->mode_config.num_connector;
743 int i, num_connector = dev->mode_config.num_connector;
747 width = dev->mode_config
[all...]
H A Ddrm_ioctl.c258 req->value = dev->mode_config.preferred_depth;
261 req->value = dev->mode_config.prefer_shadow;
H A Ddrm_edid.c2702 list_for_each_entry(connector, struct drm_connector, &dev->mode_config.connector_list, head)
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_display.c2094 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
2102 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
3168 list_for_each_entry(intel_plane, struct intel_plane, &dev->mode_config.plane_list, base.head)
3179 list_for_each_entry(intel_plane, struct intel_plane, &dev->mode_config.plane_list, base.head)
3823 list_for_each_entry(connector, struct drm_connector, &dev->mode_config.connector_list, head) {
3839 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
5028 struct drm_mode_config *mode_config = &dev->mode_config; local
5038 list_for_each_entry(encoder, struct intel_encoder, &mode_config->encoder_list,
5178 struct drm_mode_config *mode_config local
[all...]
H A Dintel_tv.c1301 connector->dev->mode_config.tv_mode_property, i);
1462 if (property == dev->mode_config.tv_left_margin_property &&
1466 } else if (property == dev->mode_config.tv_right_margin_property &&
1470 } else if (property == dev->mode_config.tv_top_margin_property &&
1474 } else if (property == dev->mode_config.tv_bottom_margin_property &&
1478 } else if (property == dev->mode_config.tv_mode_property) {
1669 drm_object_attach_property(&connector->base, dev->mode_config.tv_mode_property,
1672 dev->mode_config.tv_left_margin_property,
1675 dev->mode_config.tv_top_margin_property,
1678 dev->mode_config
[all...]
H A Di915_irq.c522 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex));
543 struct drm_mode_config *mode_config = &dev->mode_config; local
556 mutex_lock(&mode_config->mutex);
563 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
593 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
603 mutex_unlock(&mode_config->mutex);
2627 struct drm_mode_config *mode_config = &dev->mode_config; local
2634 list_for_each_entry(intel_encoder, struct intel_encoder, &mode_config
3354 struct drm_mode_config *mode_config = &dev->mode_config; local
3521 struct drm_mode_config *mode_config = &dev->mode_config; local
3635 struct drm_mode_config *mode_config = &dev->mode_config; local
[all...]
H A Dintel_dp.c1028 // WARN_ON(!mutex_is_locked(&dev->mode_config.mutex));
1052 mutex_lock(&dev->mode_config.mutex);
1054 mutex_unlock(&dev->mode_config.mutex);
2697 property == connector->dev->mode_config.scaling_mode_property) {
2751 mutex_lock(&dev->mode_config.mutex);
2753 mutex_unlock(&dev->mode_config.mutex);
2840 connector->dev->mode_config.scaling_mode_property,
3195 mutex_lock(&dev->mode_config.mutex);
3197 mutex_unlock(&dev->mode_config.mutex);
H A Dintel_lvds.c474 if (property == dev->mode_config.scaling_mode_property) {
828 &dev->mode_config.encoder_list, base.head) {
979 dev->mode_config.scaling_mode_property,
H A Di915_drv.c520 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head)
1064 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
H A Dintel_overlay.c691 BUG_ON(!mutex_is_locked(&dev->mode_config.mutex));
796 BUG_ON(!mutex_is_locked(&dev->mode_config.mutex));
H A Dintel_pm.c485 list_for_each_entry(tmp_crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
1082 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
2380 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
2402 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head) {
2641 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head) {
H A Di915_drv.h130 list_for_each_entry((_intel_encoder), struct intel_encoder, &(dev)->mode_config.encoder_list, base.head) \
H A Dintel_sdvo.c2587 &dev->mode_config.connector_list, head) {
/solaris-x11-s11/open-src/kernel/sys/drm/
H A DdrmP.h1190 struct drm_mode_config mode_config; /**< Current mode config */ member in struct:drm_device

Completed in 833 milliseconds