Subversion Repositories Kolibri OS

Rev

Rev 3031 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3031 Rev 3120
Line 140... Line 140...
140
	struct intel_encoder *encoder = intel_attached_encoder(connector);
140
	struct intel_encoder *encoder = intel_attached_encoder(connector);
141
	struct drm_crtc *crtc;
141
	struct drm_crtc *crtc;
142
	int old_dpms;
142
	int old_dpms;
Line 143... Line 143...
143
 
143
 
144
	/* PCH platforms and VLV only support on/off. */
144
	/* PCH platforms and VLV only support on/off. */
145
	if (INTEL_INFO(dev)->gen < 5 && mode != DRM_MODE_DPMS_ON)
145
	if (INTEL_INFO(dev)->gen >= 5 && mode != DRM_MODE_DPMS_ON)
Line 146... Line 146...
146
		mode = DRM_MODE_DPMS_OFF;
146
		mode = DRM_MODE_DPMS_OFF;
147
 
147