• Peter Wu's avatar
    i915: fix ACPI _DSM warning · 6d5c2d8c
    Peter Wu authored
    Since commit 29a241cc (ACPICA: Add argument typechecking for all
    predefined ACPI names), _DSM parameters are validated which trigger the
    following warning:
    
        ACPI Warning: \_SB_.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
        ACPI Warning: \_SB_.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
        ACPI Warning: \_SB_.PCI0.P0P2.PEGP._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
        ACPI Warning: \_SB_.PCI0.P0P2.PEGP._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20130517/nsarguments-95)
    
    As the Intel _DSM method seems to ignore this parameter, let's comply to
    the ACPI spec and use a Package instead.
    Signed-off-by: default avatarPeter Wu <lekensteyn@gmail.com>
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=32602Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    6d5c2d8c
intel_acpi.c 5.8 KB