Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3119 → Rev 3120

/drivers/video/drm/i915/intel_pm.c
2398,15 → 2398,9
if (i915_enable_rc6 >= 0)
return i915_enable_rc6;
 
if (INTEL_INFO(dev)->gen == 5) {
#ifdef CONFIG_INTEL_IOMMU
/* Disable rc6 on ilk if VT-d is on. */
if (intel_iommu_gfx_mapped)
return false;
#endif
DRM_DEBUG_DRIVER("Ironlake: only RC6 available\n");
return INTEL_RC6_ENABLE;
}
/* Disable RC6 on Ironlake */
if (INTEL_INFO(dev)->gen == 5)
return 0;
 
if (IS_HASWELL(dev)) {
DRM_DEBUG_DRIVER("Haswell: only RC6 available\n");