Subversion Repositories Kolibri OS

Rev

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

Rev 4104 Rev 4126
Line 29... Line 29...
29
 
29
 
30
//#include 
30
//#include 
31
#include 
31
#include 
32
#include 
32
#include 
-
 
33
#include "i915_drv.h"
33
#include "i915_drv.h"
34
#include "i915_trace.h"
Line 34... Line -...
34
#include "intel_drv.h"
-
 
35
 
35
#include "intel_drv.h"
36
#include 
36
 
37
#include 
37
#include 
38
#include 
38
#include 
Line 134... Line 134...
134
unsigned int i915_preliminary_hw_support __read_mostly = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT);
134
unsigned int i915_preliminary_hw_support __read_mostly = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT);
135
module_param_named(preliminary_hw_support, i915_preliminary_hw_support, int, 0600);
135
module_param_named(preliminary_hw_support, i915_preliminary_hw_support, int, 0600);
136
MODULE_PARM_DESC(preliminary_hw_support,
136
MODULE_PARM_DESC(preliminary_hw_support,
137
		"Enable preliminary hardware support.");
137
		"Enable preliminary hardware support.");
Line 138... Line 138...
138
 
138
 
139
int i915_disable_power_well __read_mostly = 0;
139
int i915_disable_power_well __read_mostly = 1;
140
module_param_named(disable_power_well, i915_disable_power_well, int, 0600);
140
module_param_named(disable_power_well, i915_disable_power_well, int, 0600);
141
MODULE_PARM_DESC(disable_power_well,
141
MODULE_PARM_DESC(disable_power_well,
Line 142... Line 142...
142
		 "Disable the power well when possible (default: true)");
142
		 "Disable the power well when possible (default: true)");
Line 148... Line 148...
148
bool i915_fastboot __read_mostly = 0;
148
bool i915_fastboot __read_mostly = 0;
149
module_param_named(fastboot, i915_fastboot, bool, 0600);
149
module_param_named(fastboot, i915_fastboot, bool, 0600);
150
MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time "
150
MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time "
151
		 "(default: false)");
151
		 "(default: false)");
Line 152... Line 152...
152
 
152
 
153
int i915_enable_pc8 __read_mostly = 0;
153
int i915_enable_pc8 __read_mostly = 1;
154
module_param_named(enable_pc8, i915_enable_pc8, int, 0600);
154
module_param_named(enable_pc8, i915_enable_pc8, int, 0600);
Line 155... Line 155...
155
MODULE_PARM_DESC(enable_pc8, "Enable support for low power package C states (PC8+) (default: true)");
155
MODULE_PARM_DESC(enable_pc8, "Enable support for low power package C states (PC8+) (default: true)");
156
 
156
 
Line 562... Line 562...
562
	mutex_unlock(&mode_config->mutex);
562
	mutex_unlock(&mode_config->mutex);
Line 563... Line 563...
563
 
563
 
564
	/* Just fire off a uevent and let userspace tell us what to do */
564
	/* Just fire off a uevent and let userspace tell us what to do */
565
	drm_helper_hpd_irq_event(dev);
565
	drm_helper_hpd_irq_event(dev);
-
 
566
}
566
}
567
 
567
static int __i915_drm_thaw(struct drm_device *dev)
568
static int __i915_drm_thaw(struct drm_device *dev)
568
{
569
{
569
	struct drm_i915_private *dev_priv = dev->dev_private;
570
	struct drm_i915_private *dev_priv = dev->dev_private;