drm/nouveau/gsp: Fix ACPI MXDM/MXDS method invocations
authorLyude Paul <lyude@redhat.com>
Fri, 22 Dec 2023 04:31:55 +0000 (14:31 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jan 2024 02:27:53 +0000 (12:27 +1000)
commitcf22fc2846cee83061082fa373574d6cdeb4c006
tree79f531fd3d955d93140cfdc9a1dc8e0857fbb605
parent3108cc03236b54c56e34de01227cdacf764c50a8
drm/nouveau/gsp: Fix ACPI MXDM/MXDS method invocations

Currently we get an error from ACPI because both of these arguments expect
a single argument, and we don't provide one. I'm not totally clear on what
that argument does, but we're able to find the missing value from
_acpiCacheMethodData() in src/kernel/platform/acpi_common.c in nvidia's
driver. So, let's add that - which doesn't get eDP displays to power on
quite yet, but gets rid of the argument warning at least.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-7-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c