Subversion Repositories Kolibri OS

Rev

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

Rev 5060 Rev 5097
Line 26... Line 26...
26
 *      Dave Airlie 
26
 *      Dave Airlie 
27
 *      Jesse Barnes 
27
 *      Jesse Barnes 
28
 */
28
 */
Line 29... Line 29...
29
 
29
 
30
//#include 
30
//#include 
31
//#include 
31
#include 
32
#include 
32
#include 
33
#include 
33
#include 
34
#include 
34
#include 
35
#include 
35
#include 
Line 536... Line 536...
536
 
536
 
537
static const struct drm_encoder_funcs intel_lvds_enc_funcs = {
537
static const struct drm_encoder_funcs intel_lvds_enc_funcs = {
538
	.destroy = intel_encoder_destroy,
538
	.destroy = intel_encoder_destroy,
Line 539... Line 539...
539
};
539
};
540
 
540
 
541
static int __init intel_no_lvds_dmi_callback(const struct dmi_system_id *id)
541
static int intel_no_lvds_dmi_callback(const struct dmi_system_id *id)
542
{
542
{
543
	DRM_INFO("Skipping LVDS initialization for %s\n", id->ident);
543
	DRM_INFO("Skipping LVDS initialization for %s\n", id->ident);
Line 843... Line 843...
843
 
843
 
844
	/* use the module option value if specified */
844
	/* use the module option value if specified */
845
	if (i915.lvds_channel_mode > 0)
845
	if (i915.lvds_channel_mode > 0)
Line 846... Line 846...
846
		return i915.lvds_channel_mode == 2;
846
		return i915.lvds_channel_mode == 2;
847
 
847
 
Line 848... Line 848...
848
//	if (dmi_check_system(intel_dual_link_lvds))
848
	if (dmi_check_system(intel_dual_link_lvds))
849
//		return true;
849
		return true;
850
 
850
 
851
	/* BIOS should set the proper LVDS register value at boot, but
851
	/* BIOS should set the proper LVDS register value at boot, but
Line 902... Line 902...
902
 
902
 
903
	if (!intel_lvds_supported(dev))
903
	if (!intel_lvds_supported(dev))
Line 904... Line 904...
904
		return;
904
		return;
905
 
905
 
906
	/* Skip init on machines we know falsely report LVDS */
906
	/* Skip init on machines we know falsely report LVDS */
Line 907... Line 907...
907
//   if (dmi_check_system(intel_no_lvds))
907
	if (dmi_check_system(intel_no_lvds))
908
//       return false;
908
		return;
909
 
909
 
910
	pin = GMBUS_PORT_PANEL;
910
	pin = GMBUS_PORT_PANEL;