Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5366 → Rev 5367

/drivers/video/drm/i915/i915_dma.c
275,8 → 275,14
if (ret)
DRM_INFO("failed to find VBIOS tables\n");
 
/* If we have > 1 VGA cards, then we need to arbitrate access
* to the common VGA resources.
*
* If we are a secondary display controller (!PCI_DISPLAY_CLASS_VGA),
* then we do not take part in VGA arbitration and the
* vga_client_register() fails with -ENODEV.
*/
 
 
/* Initialise stolen first so that we may reserve preallocated
* objects for the BIOS to KMS transition.
*/
578,7 → 584,7
* so there is no point in running more than one instance of the
* workqueue at any time. Use an ordered one.
*/
dev_priv->wq = alloc_ordered_workqueue("i915", 0);
dev_priv->wq = (struct workqueue_struct *)alloc_ordered_workqueue("i915", 0);
if (dev_priv->wq == NULL) {
DRM_ERROR("Failed to create our workqueue.\n");
ret = -ENOMEM;
638,7 → 644,7
if (IS_GEN5(dev))
intel_gpu_ips_init(dev_priv);
 
intel_runtime_pm_enable(dev_priv);
// intel_runtime_pm_enable(dev_priv);
 
main_device = dev;
 
672,12 → 678,6
 
intel_gpu_ips_teardown();
 
/* The i915.ko module is still not prepared to be loaded when
* the power well is not enabled, so just enable it in case
* we're going to unload/reload. */
intel_display_set_init_power(dev_priv, true);
intel_power_domains_remove(dev_priv);
 
i915_teardown_sysfs(dev);
 
if (dev_priv->mm.inactive_shrinker.scan_objects)