Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222750
b: refs/heads/master
c: bf9dc10
h: refs/heads/master
v: v3
  • Loading branch information
Keith Packard authored and Dave Airlie committed Nov 29, 2010
1 parent 4d8f50d commit cb9744b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e536fb6f9dc3908ad4c642414002ec9daf590ed7
refs/heads/master: bf9dc102e284a5aa78c73fc9d72e11d5ccd8669f
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
int count = 0, ro, fail = 0;
struct drm_crtc_helper_funcs *crtc_funcs;
int ret = 0;
int i;

DRM_DEBUG_KMS("\n");

Expand Down Expand Up @@ -666,6 +667,12 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
if (ret != 0)
goto fail;
}
DRM_DEBUG_KMS("Setting connector DPMS state to on\n");
for (i = 0; i < set->num_connectors; i++) {
DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set DPMS on\n", set->connectors[i]->base.id,
drm_get_connector_name(set->connectors[i]));
set->connectors[i]->dpms = DRM_MODE_DPMS_ON;
}

kfree(save_connectors);
kfree(save_encoders);
Expand Down

0 comments on commit cb9744b

Please sign in to comment.