2196,7 → 2196,6 |
return 0; |
|
#if 0 |
|
if (!dev->primary->master) |
{ |
LEAVE(); |
3203,6 → 3202,7 |
|
dev_priv->display.dpms(crtc, mode); |
|
#if 0 |
if (!dev->primary->master) |
return; |
|
3225,6 → 3225,8 |
DRM_ERROR("Can't update pipe %c in SAREA\n", pipe_name(pipe)); |
break; |
} |
#endif |
|
} |
|
static void intel_crtc_disable(struct drm_crtc *crtc) |
6365,8 → 6367,6 |
struct intel_crtc *intel_crtc; |
int i; |
|
ENTER(); |
|
intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL); |
if (intel_crtc == NULL) |
return; |
6409,8 → 6409,6 |
|
intel_crtc->busy = false; |
|
LEAVE(); |
|
// setup_timer(&intel_crtc->idle_timer, intel_crtc_idle_timer, |
// (unsigned long)intel_crtc); |
} |
6736,9 → 6734,6 |
|
|
|
|
|
|
static unsigned long intel_pxfreq(u32 vidfreq) |
{ |
unsigned long freq; |