Commit 53c26181 authored by Lyude Paul's avatar Lyude Paul

drm/nouveau/acpi: Don't print error when we get -EINPROGRESS from pm_runtime

Since this isn't actually a failure.
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Reviewed-by: default avatarDavid Airlie <airlied@linux.ie>
Fixes: 79e765ad ("drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early")
Cc: <stable@vger.kernel.org> # v4.19+
Link: https://patchwork.freedesktop.org/patch/msgid/20220714174234.949259-2-lyude@redhat.com
parent ca0367ca
...@@ -537,7 +537,7 @@ nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val, ...@@ -537,7 +537,7 @@ nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val,
* it's own hotplug events. * it's own hotplug events.
*/ */
pm_runtime_put_autosuspend(drm->dev->dev); pm_runtime_put_autosuspend(drm->dev->dev);
} else if (ret == 0) { } else if (ret == 0 || ret == -EINPROGRESS) {
/* We've started resuming the GPU already, so /* We've started resuming the GPU already, so
* it will handle scheduling a full reprobe * it will handle scheduling a full reprobe
* itself * itself
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment