]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
authorLyude Paul <lyude@redhat.com>
Tue, 7 Aug 2018 21:32:48 +0000 (17:32 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:27 +0000 (06:54 +1000)
commit2d8ed6660e07c44ba2158d6dd91a7ab9ac00854c
tree782a963981c48fddd575cb89c961793617814565
parent0ebfb48b50c2d7fbb39a829aa396423e81bc8c60
drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload

Currently, there's nothing in nouveau that actually cancels this work
struct. So, cancel it on suspend/unload. Otherwise, if we're unlucky
enough hpd_work might try to keep running up until the system is
suspended.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.h
drivers/gpu/drm/nouveau/nouveau_drm.c