]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
authorYueHaibing <yuehaibing@huawei.com>
Thu, 28 Feb 2019 12:24:59 +0000 (20:24 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 21 Mar 2019 23:57:58 +0000 (09:57 +1000)
commit909e9c9c428376e2a43d178ed4b0a2d5ba9cb7d3
treedc1a0211ca4acd9aa518f0b061679da24cecb735
parent18ec3c129bcad0a481ee7faf8ce5ad92d6537722
drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure

pm_runtime_get_sync returns negative on failure.

Fixes: eaeb9010bb4b ("drm/nouveau/debugfs: Wake up GPU before doing any reclocking")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_debugfs.c