Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329492
b: refs/heads/master
c: 172a1ae
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Sep 20, 2012
1 parent ef5c97f commit 8f35a02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46b6f8149a7a631ae8789f4eaebf8c27c1279b5a
refs/heads/master: 172a1ae141a20f8279dfa285d99ff0541b7eb044
10 changes: 0 additions & 10 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -7296,7 +7296,6 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
struct drm_mode_set save_set;
struct intel_set_config *config;
int ret;
int i;

BUG_ON(!set);
BUG_ON(!set->crtc);
Expand Down Expand Up @@ -7360,15 +7359,6 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
ret = -EINVAL;
goto fail;
}

if (set->crtc->enabled) {
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]->funcs->dpms(set->connectors[i], DRM_MODE_DPMS_ON);
}
}
} else if (config->fb_changed) {
ret = intel_pipe_set_base(set->crtc,
set->x, set->y, set->fb);
Expand Down

0 comments on commit 8f35a02

Please sign in to comment.