Displaying 4 results from an estimated 4 matches for "packageelementlist".
2016 Oct 29
1
Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
...// ...
> > }
> >
> > PowerResource (NVP3, 0x00, 0x0000)
Looks wrong order to me.
However, _PR3 is a package, for AML opcode that contains PkgLength grammar primitive, forward reference may be OK (for example Method).
DefPackage := PackageOp PkgLength NumElements PackageElementList
DefMethod := MethodOp PkgLength NameString MethodFlags TermList
As when it is encountered, AML interpreter may only saves entire packaged object.
I need to test behaviors around Package with qemu but I don't have environment now.
Can you help to give it a try?
By adding customize an ssdt with...
2016 Oct 30
0
Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
...; > >
> > > PowerResource (NVP3, 0x00, 0x0000)
>
> Looks wrong order to me.
>
> However, _PR3 is a package, for AML opcode that contains PkgLength grammar primitive, forward reference may be OK (for example Method).
> DefPackage := PackageOp PkgLength NumElements PackageElementList
> DefMethod := MethodOp PkgLength NameString MethodFlags TermList
> As when it is encountered, AML interpreter may only saves entire packaged object.
>
> I need to test behaviors around Package with qemu but I don't have environment now.
> Can you help to give it a try?
> By...
2016 Oct 27
3
Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
On Thu, Oct 27, 2016 at 12:55:08PM +0300, Mika Westerberg wrote:
> On Thu, Oct 27, 2016 at 09:42:28AM +0000, Rick Kerkhof wrote:
> > No, there are not. Here is the recursive directory listing:
>
> Are you able to try the following patch and send me dmesg (or attach it
> to that bug)? It should show if the ACPI core even tries to add those
> power resources.
So Rick has
2013 Oct 28
0
Re: [Qemu-devel] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
...aml_processor_start(offset)
> + offset += 2
> + pkglenbytes = aml_pkglen_bytes(offset)
> + pkglen = aml_pkglen(offset)
> + return offset + pkglen
> +
> +def aml_package_start(offset):
> + offset = aml_name_string(offset) + 4
> + # 0x12 PkgLength NumElements PackageElementList
> + if (aml[offset] != 0x12):
> + die( "Name offset 0x%x: expected 0x12 actual 0x%x" %
> + (offset, aml[offset]));
> + offset += 1
> + return offset + aml_pkglen_bytes(offset) + 1
> +
> +lineno = 0
> +for line in fileinput.input():
>...