Rev 2339 | Rev 2342 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2339 | Rev 2340 | ||
---|---|---|---|
Line 2194... | Line 2194... | ||
2194 | 2194 | ||
2195 | LEAVE(); |
2195 | LEAVE(); |
Line 2196... | Line 2196... | ||
2196 | return 0; |
2196 | return 0; |
2197 | - | ||
2198 | #if 0 |
2197 | |
2199 | 2198 | #if 0 |
|
2200 | if (!dev->primary->master) |
2199 | if (!dev->primary->master) |
2201 | { |
2200 | { |
2202 | LEAVE(); |
2201 | LEAVE(); |
Line 3201... | Line 3200... | ||
3201 | 3200 | ||
Line 3202... | Line 3201... | ||
3202 | intel_crtc->dpms_mode = mode; |
3201 | intel_crtc->dpms_mode = mode; |
Line -... | Line 3202... | ||
- | 3202 | ||
3203 | 3203 | dev_priv->display.dpms(crtc, mode); |
|
3204 | dev_priv->display.dpms(crtc, mode); |
3204 | |
Line 3205... | Line 3205... | ||
3205 | 3205 | #if 0 |
|
3206 | if (!dev->primary->master) |
3206 | if (!dev->primary->master) |
Line 3223... | Line 3223... | ||
3223 | break; |
3223 | break; |
3224 | default: |
3224 | default: |
3225 | DRM_ERROR("Can't update pipe %c in SAREA\n", pipe_name(pipe)); |
3225 | DRM_ERROR("Can't update pipe %c in SAREA\n", pipe_name(pipe)); |
3226 | break; |
3226 | break; |
3227 | } |
3227 | } |
- | 3228 | #endif |
|
- | 3229 | ||
3228 | } |
3230 | } |
Line 3229... | Line 3231... | ||
3229 | 3231 | ||
3230 | static void intel_crtc_disable(struct drm_crtc *crtc) |
3232 | static void intel_crtc_disable(struct drm_crtc *crtc) |
3231 | { |
3233 | { |
Line 6363... | Line 6365... | ||
6363 | { |
6365 | { |
6364 | drm_i915_private_t *dev_priv = dev->dev_private; |
6366 | drm_i915_private_t *dev_priv = dev->dev_private; |
6365 | struct intel_crtc *intel_crtc; |
6367 | struct intel_crtc *intel_crtc; |
6366 | int i; |
6368 | int i; |
Line 6367... | Line -... | ||
6367 | - | ||
6368 | ENTER(); |
- | |
6369 | 6369 | ||
6370 | intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL); |
6370 | intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL); |
6371 | if (intel_crtc == NULL) |
6371 | if (intel_crtc == NULL) |
Line 6372... | Line 6372... | ||
6372 | return; |
6372 | return; |
Line 6407... | Line 6407... | ||
6407 | 6407 | ||
Line 6408... | Line 6408... | ||
6408 | drm_crtc_helper_add(&intel_crtc->base, &intel_helper_funcs); |
6408 | drm_crtc_helper_add(&intel_crtc->base, &intel_helper_funcs); |
Line 6409... | Line -... | ||
6409 | - | ||
6410 | intel_crtc->busy = false; |
- | |
6411 | 6409 | ||
6412 | LEAVE(); |
6410 | intel_crtc->busy = false; |
6413 | 6411 | ||
Line 6727... | Line -... | ||
6727 | - | ||
6728 | - | ||
6729 | - |