Subversion Repositories Kolibri OS

Rev

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

Rev 3480 Rev 3482
Line 8235... Line 8235...
8235
{
8235
{
8236
	struct drm_i915_get_pipe_from_crtc_id *pipe_from_crtc_id = data;
8236
	struct drm_i915_get_pipe_from_crtc_id *pipe_from_crtc_id = data;
8237
	struct drm_mode_object *drmmode_obj;
8237
	struct drm_mode_object *drmmode_obj;
8238
	struct intel_crtc *crtc;
8238
	struct intel_crtc *crtc;
Line -... Line 8239...
-
 
8239
 
-
 
8240
	if (!drm_core_check_feature(dev, DRIVER_MODESET))
-
 
8241
		return -ENODEV;
8239
 
8242
 
8240
	drmmode_obj = drm_mode_object_find(dev, pipe_from_crtc_id->crtc_id,
8243
	drmmode_obj = drm_mode_object_find(dev, pipe_from_crtc_id->crtc_id,
Line 8241... Line 8244...
8241
			DRM_MODE_OBJECT_CRTC);
8244
			DRM_MODE_OBJECT_CRTC);
8242
 
8245
 
Line 8758... Line 8761...
8758
 
8761
 
Line 8759... Line 8762...
8759
	intel_prepare_ddi(dev);
8762
	intel_prepare_ddi(dev);
Line 8760... Line 8763...
8760
 
8763
 
8761
	intel_init_clock_gating(dev);
8764
	intel_init_clock_gating(dev);
8762
 
8765
 
8763
//   mutex_lock(&dev->struct_mutex);
8766
    mutex_lock(&dev->struct_mutex);
Line 8764... Line 8767...
8764
//   intel_enable_gt_powersave(dev);
8767
    intel_enable_gt_powersave(dev);
8765
//   mutex_unlock(&dev->struct_mutex);
8768
    mutex_unlock(&dev->struct_mutex);
8766
}
8769
}