diff options
author | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2008-04-10 11:27:39 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2008-04-10 11:27:39 -0700 |
commit | ebd154497383e3bcb6b5c6284148aff3633a5d99 (patch) | |
tree | 4886fd0410df3067965099ce71c5c411c5217b7a /linux-core | |
parent | 0a6e301e6de3421f116d1b5d8205ca4f442091e2 (diff) |
Fix masking in get_load_detect_pipe
Start i at -1 so that the masking works right.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c index 13936ee2..5ca33f7f 100644 --- a/linux-core/intel_display.c +++ b/linux-core/intel_display.c @@ -1129,7 +1129,7 @@ struct drm_crtc *intel_get_load_detect_pipe(struct drm_output *output, struct drm_crtc *possible_crtc; struct drm_crtc *supported_crtc =NULL; struct drm_crtc *crtc = NULL; - int i = 0; + int i = -1; /* * Algorithm gets a little messy: |