See:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/io/vgatext/
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/io/drm/

Venu C wrote:
> Hi Kerry,
> 
>    Do you have info for the source code location for
> both these drivers:
>  1. vgatext
>  2. i915
> 
> I would like to experiment vgatext suspend/resume
> support on my platform.
> 
> Regards,
> Venu.
> --- Kerry Shu <[EMAIL PROTECTED]> wrote:
> 
>> Hi Venu,
>>
>> Looks like your graphic device (0x8086, 0x8108) is
>> not supported
>> by i915 driver which do support S/R.
>>
>> vgatext doesn't support S/R. You can have a try to
>> manually set
>> vgatext_force_suspend to 1 in mdb. Anyway, the
>> system may still have
>> problem in resume even suspend succeed. There's an
>> open CR for this
>> issue:
>>      6746567 vgatext needs complete Suspend/Resume
>> support
>>
>>
>> Regards,
>> Kerry
>>
>> Venu C wrote:
>>> Since Suspend failed on driver support to cpr, I
>> am CC to driver-discuss.
>>> Thanks,
>>> Venu.
>>>
>>> Venu C wrote:
>>>> Randy Fishel wrote:
>>>>> On Tue, 14 Oct 2008, Venu Chennupati wrote:
>>>>>
>>>>>  
>>>>>> Is the cpr(suspend-resume) is supported on
>> Solaris x86 platform?. 
>>>>>> when I tried
>>>>>> "/usr/openwin/bin/sys-suspend" and selected
>> "suspend" operation, got 
>>>>>> notified
>>>>>> suspend is not supported.
>>>>>>
>>>>>> Is there any otherway to enable it or the cpr
>> is not supported on x86.
>>>>>> Thanks,
>>>>>> Venu.
>>>>>>     
>>>>>   It is supported, but it may or may not work on
>> your particular 
>>>>> platform.  Check the FAQ's at the OpenSolaris
>> Power Management 
>>>>> Community pages for help in getting it
>> configured for your machine, 
>>>>> and if you still have problems, come back and
>> ask.
>>>>>     http://opensolaris.org/os/community/pm/
>>>>>   
>>>>    I have updated /etc/power.conf with the line
>> "S3-support enable". 
>>>> Seems like
>>>>   cpr is enabled post pmconfig/reboot. But the
>> suspend fails for a 
>>>> display device:
>>>>
>>>> Oct 20 11:13:41 lippert genunix: [ID 535284
>> kern.notice] System is 
>>>> being suspended
>>>> Oct 20 11:13:42 lippert genunix: [ID 122848
>> kern.warning] WARNING: 
>>>> Unable to suspend device [EMAIL PROTECTED]
>>>> Oct 20 11:13:42 lippert genunix: [ID 537702
>> kern.warning] WARNING: 
>>>> Device is busy or does not support
>> suspend/resume.
>>>> Oct 20 11:13:44 lippert cpr: [ID 208601
>> kern.notice]
>>>> Oct 20 11:13:44 lippert The system is back where
>> you left!
>>>> Oct 20 11:13:44 lippert genunix: [ID 583038
>> kern.notice] System has 
>>>> been resumed.
>>>>
>>>> The display is based on Intel Graphics
>> Controller(0x8086, 0x8108) and 
>>>> its info is below:
>>>>
>>>>        display, instance #0 (driver name:
>> vgatext)
>>>>            Driver properties:
>>>>                name='ddi-no-autodetach' type=int
>> items=1 dev=none
>>>>                    value=00000001
>>>>                name='fm-errcb-capable'
>> type=boolean dev=none
>>>>                name='fm-ereport-capable'
>> type=boolean dev=none
>>>>            Hardware properties:
>>>>                name='pci-pm-context' type=byte
>> items=12
>>>>                   
>> value=00.00.00.00.d0.00.00.00.03.00.00.00
>>>>                name='pci-cap-info' type=byte
>> items=16
>>>>                   
> value=d0.00.01.00.02.00.00.00.90.00.05.00.03.00.00.00
>>>>                name='pci-config-regs' type=byte
>> items=52
>>>>                    
>>>>
> value=07.00.00.00.00.00.00.00.00.00.f0.fd.01.ff.00.00.00.00.
> 00.d0.00.00.f8.fd.00.00.00.00.00.00.00.00.01.b0.22.00.00.00.00.00.05.00.00.00.00
>>>> .00.00.00.00.00.00.00
>>>>                name='acpi-namespace' type=string
>> items=1
>>>>                    value='\_SB_.PCI0.GFX0'
>>>>                name='video-adapter-type'
>> type=string items=1
>>>>                    value='svga'
>>>>
>>>>                name='display-type' type=string
>> items=1
>>>>                    value='color'
>>>>                name='assigned-addresses' type=int
>> items=35
>>>>                    
>>>>
> value=82001010.00000000.fdf00000.00000000.00080000.81001014.
> 00000000.0000ff00.00000000.00000008.82001018.00000000.d0000000.00000000.10000000
>>>>
> ..8200101c.00000000.fdf80000.00000000.00040000.a1001000.00000000.000003b0.0000000
>>>>
> 0.0000000c.a1001000.00000000.000003c0.00000000.00000020.82001000.00000000.000a00
>>>> 00.00000000.00020000
>>>>                name='reg' type=int items=40
>>>>                    
>>>>
> value=00001000.00000000.00000000.00000000.00000000.02001010.
> 00000000.00000000.00000000.00080000.01001014.00000000.00000000.00000000.00000008
>>>>
> ..02001018.00000000.00000000.00000000.10000000.0200101c.00000000.00000000.0000000
>>>>
> 0.00040000.a1001000.00000000.000003b0.00000000.0000000c.a1001000.00000000.000003
>>>>
> c0.00000000.00000020.82001000.00000000.000a0000.00000000.00020000
>>>>                name='compatible' type=string
>> items=7
>>>>                   
>> value='pci8086,8108.8086.7270.6' + 
>>>> 'pci8086,8108.8086.7270'
>>>> + 'pci8086,7270' + 'pci8086,8108.6' +
>> 'pci8086,8108' + 
>>>> 'pciclass,030000' + 'pcic
>>>> lass,0300'
>>>>                name='model' type=string items=1
>>>>
>>>>                    value='VGA compatible
>> controller'
>>>>                name='power-consumption' type=int
>> items=2
>>>>                    value=00000001.00000001
>>>>                name='devsel-speed' type=int
>> items=1
>>>>                    value=00000000
>>>>                name='interrupts' type=int items=1
>>>>                    value=00000001
>>>>                name='max-latency' type=int
>> items=1
>>>>                    value=00000000
>>>>                name='min-grant' type=int items=1
>>>>                    value=00000000
>>>>                name='subsystem-vendor-id'
>> type=int items=1
>>>>                    value=00008086
>>>>                name='subsystem-id' type=int
>> items=1
>>>>                    value=00007270
>>>>                name='device_type' type=string
>> items=1
>>>>                    value='display'
>>>>                name='unit-address' type=string
>> items=1
>>>>                    value='2'
>>>>                name='class-code' type=int items=1
> === message truncated ===
> 
> 
> _______________________________________________
> driver-discuss mailing list
> driver-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to