Regression due to: drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 07, 2013 at 10:12:12AM +0100, Sjoerd Simons wrote:
> On Sun, 2013-01-06 at 22:13 +0100, Daniel Vetter wrote:
> > Now with the intel-gfx m-l address fixed ...
> > -Daniel
> > 
> > On Sun, Jan 6, 2013 at 10:13 PM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > > Hi all,
> > >
> > > Looks ugly, and the original commit doesn't have any link to the
> > > dmidecode information. Sjoerd&John, can you both please attach the
> > > output of dmidecode? If we're lucky, we can differentiate the two
> > > models somehow, if not we need to revert this patch, since regressions
> > > win over simple bugs.
> 
> Mine is attached, unfortunately the only interesting difference seems to
> be the Base board serial number:
> -	Serial Number: /sku
> +	Serial Number: XXXXXXXX
> 
> But given we both have an ID12 that's most likely not very relevant (or
> maybe different bios versions do different amounts of setup on the hdmi
> bridge).
> 
> Even though i did some attempts i've never seen the hdmi output work in
> linux (and didn't know it was attached to LVDS). John did mention it
> only works up to 720p, so it could very well be i simply never send it a
> mode it actually supports.
> 
> Reverting this patch will cause a regression in that the higher levels,
> e.g. X, always thinks there is an output on the LVDS port so it comes up
> in a very odd mode (but at least one can work around that with
> configuration), so i guess the patch should be reverted :/
> 
> Ideally we'd find a way to do hotplug detection on the lvds-to-hdmi
> bridge (any ideas where to look for that would be much appreciated). 

Unfortunately I have no clue (nor docs) how lvds->hdmi chains are supposed
to work. For real hdmi support we'd need a few things at least:
- some way to set up infoframes
- some way to switch between single-link and dual-link lvds modes (for the
  higher resolutions)
- some way to do hotplug detection (I guess we could use polling on the
  i2c pins as a fallback)

All this needs a new hdmi_on_lvds encoder/connector with relevant code,
plus a way to figure out whether we need this (either with a quirk table
or by looking at some magic vbt value I'm not aware of).

In short: Tons of work to make this work, and very unlikely that we'll get
around to it. If you're bored though I could give you some ideas though on
the #intel-gfx irc channel.

I've reverted the quirk entry to fix the regression.

Cheers, Daniel


> 
> > > Yours, Daniel
> > >
> > > On Tue, Dec 25, 2012 at 12:39 PM, John Tapsell <johnflux at gmail.com> wrote:
> > >> I have a Zotac ZDBOX SD ID12  and the following commit means that I no
> > >> longer have HDMI output.
> > >>
> > >> I've been told that I have a lvds-to-hdmi bridge, so this commit broke that.
> > >>
> > >> Commit:
> > >>
> > >>     drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13
> > >>
> > >>     BugLink: https://bugs.launchpad.net/bugs/1064924
> > >>
> > >>     This box claims to have an LVDS interface but doesn't
> > >>     actually have one.
> > >>
> > >>     Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> > >>     Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> > >>     (cherry picked from commit 9756fe38d10b2bf90c81dc4d2f17d5632e135364)
> > >>
> > >>     Signed-off-by: Joseph Salisbury <joseph.salisbury at canonical.com>
> > >>     Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> > >
> > >
> > >
> > > --
> > > Daniel Vetter
> > > Software Engineer, Intel Corporation
> > > +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> > 
> > 
> > 
> 
> 

> # dmidecode 2.11
> SMBIOS 2.6 present.
> 22 structures occupying 1065 bytes.
> Table at 0x000FB9E0.
> 
> Handle 0x0000, DMI type 0, 24 bytes
> BIOS Information
> 	Vendor: American Megatrends Inc.
> 	Version: 080016 
> 	Release Date: 12/23/2010
> 	Address: 0xF0000
> 	Runtime Size: 64 kB
> 	ROM Size: 1024 kB
> 	Characteristics:
> 		ISA is supported
> 		PCI is supported
> 		PNP is supported
> 		BIOS is upgradeable
> 		BIOS shadowing is allowed
> 		ESCD support is available
> 		Boot from CD is supported
> 		Selectable boot is supported
> 		BIOS ROM is socketed
> 		EDD is supported
> 		5.25"/1.2 MB floppy services are supported (int 13h)
> 		3.5"/720 kB floppy services are supported (int 13h)
> 		3.5"/2.88 MB floppy services are supported (int 13h)
> 		Print screen service is supported (int 5h)
> 		8042 keyboard services are supported (int 9h)
> 		Serial services are supported (int 14h)
> 		Printer services are supported (int 17h)
> 		CGA/mono video services are supported (int 10h)
> 		ACPI is supported
> 		USB legacy is supported
> 		LS-120 boot is supported
> 		ATAPI Zip drive boot is supported
> 		BIOS boot specification is supported
> 		Targeted content distribution is supported
> 	BIOS Revision: 8.16
> 
> Handle 0x0001, DMI type 1, 27 bytes
> System Information
> 	Manufacturer: ZOTAC
> 	Product Name: ZBOXSD-ID12/ID13
> 	Version: XX
> 	Serial Number: GXXXX160XXXXX
> 	UUID: 03000200-0400-0500-0006-000700080009
> 	Wake-up Type: Power Switch
> 	SKU Number: NA
> 	Family: NA
> 
> Handle 0x0002, DMI type 2, 15 bytes
> Base Board Information
> 	Manufacturer: ZOTAC
> 	Product Name: ZBOXSD-ID12/ID13
> 	Version: XX
> 	Serial Number: XXXXXXXX
> 	Asset Tag: NA
> 	Features:
> 		Board is a hosting board
> 		Board is replaceable
> 	Location In Chassis: NA
> 	Chassis Handle: 0x0003
> 	Type: Motherboard
> 	Contained Object Handles: 0
> 
> Handle 0x0003, DMI type 3, 21 bytes
> Chassis Information
> 	Manufacturer: To Be Filled By O.E.M.
> 	Type: Desktop
> 	Lock: Not Present
> 	Version: To Be Filled By O.E.M.
> 	Serial Number: To Be Filled By O.E.M.
> 	Asset Tag: To Be Filled By O.E.M.
> 	Boot-up State: Safe
> 	Power Supply State: Safe
> 	Thermal State: Safe
> 	Security Status: None
> 	OEM Information: 0x00000000
> 	Height: Unspecified
> 	Number Of Power Cords: 1
> 	Contained Elements: 0
> 
> Handle 0x0004, DMI type 4, 42 bytes
> Processor Information
> 	Socket Designation: CPU 1
> 	Type: Central Processor
> 	Family: Atom
> 	Manufacturer: Intel            
> 	ID: CA 06 01 00 FF FB EB BF
> 	Signature: Type 0, Family 6, Model 28, Stepping 10
> 	Flags:
> 		FPU (Floating-point unit on-chip)
> 		VME (Virtual mode extension)
> 		DE (Debugging extension)
> 		PSE (Page size extension)
> 		TSC (Time stamp counter)
> 		MSR (Model specific registers)
> 		PAE (Physical address extension)
> 		MCE (Machine check exception)
> 		CX8 (CMPXCHG8 instruction supported)
> 		APIC (On-chip APIC hardware supported)
> 		SEP (Fast system call)
> 		MTRR (Memory type range registers)
> 		PGE (Page global enable)
> 		MCA (Machine check architecture)
> 		CMOV (Conditional move instruction supported)
> 		PAT (Page attribute table)
> 		PSE-36 (36-bit page size extension)
> 		CLFSH (CLFLUSH instruction supported)
> 		DS (Debug store)
> 		ACPI (ACPI supported)
> 		MMX (MMX technology supported)
> 		FXSR (FXSAVE and FXSTOR instructions supported)
> 		SSE (Streaming SIMD extensions)
> 		SSE2 (Streaming SIMD extensions 2)
> 		SS (Self-snoop)
> 		HTT (Multi-threading)
> 		TM (Thermal monitor supported)
> 		PBE (Pending break enabled)
> 	Version: Intel(R) Atom(TM) CPU D525   @ 1.80GHz              
> 	Voltage: 1.1 V
> 	External Clock: 200 MHz
> 	Max Speed: 1800 MHz
> 	Current Speed: 1800 MHz
> 	Status: Populated, Enabled
> 	Upgrade: Socket LGA775
> 	L1 Cache Handle: 0x0005
> 	L2 Cache Handle: 0x0006
> 	L3 Cache Handle: Not Provided
> 	Serial Number: To Be Filled By O.E.M.
> 	Asset Tag: To Be Filled By O.E.M.
> 	Part Number: To Be Filled By O.E.M.
> 	Core Count: 2
> 	Core Enabled: 2
> 	Thread Count: 4
> 	Characteristics:
> 		64-bit capable
> 
> Handle 0x0005, DMI type 7, 19 bytes
> Cache Information
> 	Socket Designation: L1-Cache
> 	Configuration: Enabled, Not Socketed, Level 1
> 	Operational Mode: Write Back
> 	Location: Internal
> 	Installed Size: 48 kB
> 	Maximum Size: 48 kB
> 	Supported SRAM Types:
> 		Other
> 	Installed SRAM Type: Other
> 	Speed: Unknown
> 	Error Correction Type: Parity
> 	System Type: Data
> 	Associativity: Other
> 
> Handle 0x0006, DMI type 7, 19 bytes
> Cache Information
> 	Socket Designation: L2-Cache
> 	Configuration: Enabled, Not Socketed, Level 2
> 	Operational Mode: Write Back
> 	Location: Internal
> 	Installed Size: 1024 kB
> 	Maximum Size: 1024 kB
> 	Supported SRAM Types:
> 		Other
> 	Installed SRAM Type: Other
> 	Speed: Unknown
> 	Error Correction Type: Single-bit ECC
> 	System Type: Unified
> 	Associativity: 8-way Set-associative
> 
> Handle 0x0007, DMI type 5, 20 bytes
> Memory Controller Information
> 	Error Detecting Method: 64-bit ECC
> 	Error Correcting Capabilities:
> 		None
> 	Supported Interleave: One-way Interleave
> 	Current Interleave: One-way Interleave
> 	Maximum Memory Module Size: 4096 MB
> 	Maximum Total Memory Size: 8192 MB
> 	Supported Speeds:
> 		Other
> 	Supported Memory Types:
> 		DIMM
> 		SDRAM
> 	Memory Module Voltage: 3.3 V
> 	Associated Memory Slots: 2
> 		0x0008
> 		0x0009
> 	Enabled Error Correcting Capabilities:
> 		None
> 
> Handle 0x0008, DMI type 6, 12 bytes
> Memory Module Information
> 	Socket Designation: DIMM0
> 	Bank Connections: 0 1
> 	Current Speed: Unknown
> 	Type: DIMM SDRAM
> 	Installed Size: 1024 MB (Single-bank Connection)
> 	Enabled Size: 1024 MB (Single-bank Connection)
> 	Error Status: OK
> 
> Handle 0x0009, DMI type 6, 12 bytes
> Memory Module Information
> 	Socket Designation: DIMM1
> 	Bank Connections: 2 3
> 	Current Speed: Unknown
> 	Type: DIMM SDRAM
> 	Installed Size: Not Installed
> 	Enabled Size: Not Installed
> 	Error Status: OK
> 
> Handle 0x000A, DMI type 13, 22 bytes
> BIOS Language Information
> 	Language Description Format: Long
> 	Installable Languages: 1
> 		en|US|iso8859-1
> 	Currently Installed Language: en|US|iso8859-1
> 
> Handle 0x000B, DMI type 15, 35 bytes
> System Event Log
> 	Area Length: 4 bytes
> 	Header Start Offset: 0x0000
> 	Header Length: 2 bytes
> 	Data Start Offset: 0x0002
> 	Access Method: Indexed I/O, one 16-bit index port, one 8-bit data port
> 	Access Address: Index 0x046A, Data 0x046C
> 	Status: Invalid, Not Full
> 	Change Token: 0x00000000
> 	Header Format: No Header
> 	Supported Log Type Descriptors: 6
> 	Descriptor 1: End of log
> 	Data Format 1: OEM-specific
> 	Descriptor 2: End of log
> 	Data Format 2: OEM-specific
> 	Descriptor 3: End of log
> 	Data Format 3: OEM-specific
> 	Descriptor 4: End of log
> 	Data Format 4: OEM-specific
> 	Descriptor 5: End of log
> 	Data Format 5: OEM-specific
> 	Descriptor 6: End of log
> 	Data Format 6: OEM-specific
> 
> Handle 0x000C, DMI type 16, 15 bytes
> Physical Memory Array
> 	Location: System Board Or Motherboard
> 	Use: System Memory
> 	Error Correction Type: None
> 	Maximum Capacity: 4 GB
> 	Error Information Handle: Not Provided
> 	Number Of Devices: 2
> 
> Handle 0x000D, DMI type 19, 15 bytes
> Memory Array Mapped Address
> 	Starting Address: 0x00000000000
> 	Ending Address: 0x0003FFFFFFF
> 	Range Size: 1 GB
> 	Physical Array Handle: 0x000C
> 	Partition Width: 4
> 
> Handle 0x000E, DMI type 17, 28 bytes
> Memory Device
> 	Array Handle: 0x000C
> 	Error Information Handle: Not Provided
> 	Total Width: 64 bits
> 	Data Width: 64 bits
> 	Size: 1024 MB
> 	Form Factor: SODIMM
> 	Set: None
> 	Locator: DIMM0
> 	Bank Locator: BANK0
> 	Type: DDR2
> 	Type Detail: Synchronous
> 	Speed: 800 MHz
> 	Manufacturer: Manufacturer00
> 	Serial Number: SerNum00
> 	Asset Tag: AssetTagNum0
> 	Part Number: ModulePartNumber00
> 	Rank: Unknown
> 
> Handle 0x000F, DMI type 20, 19 bytes
> Memory Device Mapped Address
> 	Starting Address: 0x00000000000
> 	Ending Address: 0x0003FFFFFFF
> 	Range Size: 1 GB
> 	Physical Device Handle: 0x000E
> 	Memory Array Mapped Address Handle: 0x000D
> 	Partition Row Position: 1
> 	Interleaved Data Depth: 1
> 
> Handle 0x0010, DMI type 17, 28 bytes
> Memory Device
> 	Array Handle: 0x000C
> 	Error Information Handle: Not Provided
> 	Total Width: Unknown
> 	Data Width: Unknown
> 	Size: No Module Installed
> 	Form Factor: DIMM
> 	Set: None
> 	Locator: DIMM1
> 	Bank Locator: BANK1
> 	Type: Unknown
> 	Type Detail: Unknown
> 	Speed: Unknown
> 	Manufacturer: Manufacturer01
> 	Serial Number: SerNum01
> 	Asset Tag: AssetTagNum1
> 	Part Number: ModulePartNumber01
> 	Rank: Unknown
> 
> Handle 0x0011, DMI type 20, 19 bytes
> Memory Device Mapped Address
> 	Starting Address: 0x00000000000
> 	Ending Address: 0x000000003FF
> 	Range Size: 1 kB
> 	Physical Device Handle: 0x0010
> 	Memory Array Mapped Address Handle: 0x000D
> 	Partition Row Position: 1
> 	Interleaved Data Depth: 1
> 
> Handle 0x0012, DMI type 32, 20 bytes
> System Boot Information
> 	Status: No errors detected
> 
> Handle 0x0013, DMI type 41, 11 bytes
> Onboard Device
> 	Reference Designation: To Be Filled By O.E.M.
> 	Type: Video
> 	Status: Enabled
> 	Type Instance: 0
> 
> Handle 0x0014, DMI type 41, 11 bytes
> Onboard Device
> 	Reference Designation: To Be Filled By O.E.M.
> 	Type: SCSI Controller
> 	Status: Disabled
> 	Type Instance: 0
> 
> Handle 0x0015, DMI type 127, 4 bytes
> End Of Table
> 


-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux