Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5060 → Rev 5097

/drivers/video/drm/i915/intel_lvds.c
28,7 → 28,7
*/
 
//#include <acpi/button.h>
//#include <linux/dmi.h>
#include <linux/dmi.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <drm/drmP.h>
538,7 → 538,7
.destroy = intel_encoder_destroy,
};
 
static int __init intel_no_lvds_dmi_callback(const struct dmi_system_id *id)
static int intel_no_lvds_dmi_callback(const struct dmi_system_id *id)
{
DRM_INFO("Skipping LVDS initialization for %s\n", id->ident);
return 1;
845,8 → 845,8
if (i915.lvds_channel_mode > 0)
return i915.lvds_channel_mode == 2;
 
// if (dmi_check_system(intel_dual_link_lvds))
// return true;
if (dmi_check_system(intel_dual_link_lvds))
return true;
 
/* BIOS should set the proper LVDS register value at boot, but
* in reality, it doesn't set the value when the lid is closed;
904,8 → 904,8
return;
 
/* Skip init on machines we know falsely report LVDS */
// if (dmi_check_system(intel_no_lvds))
// return false;
if (dmi_check_system(intel_no_lvds))
return;
 
pin = GMBUS_PORT_PANEL;
if (!lvds_is_present_in_vbt(dev, &pin)) {