summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2022-06-01 20:46:28 +1000
committerDave Airlie <airlied@redhat.com>2022-07-27 09:05:47 +1000
commit3517e6b6fee05b6259ca21741cbe5d7bf68aa672 (patch)
tree7513589b014edb66bfc21934f548b83c8980c114 /drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
parentacbe9ecfb7fb14db868ddbeda8f43e623026316b (diff)
downloadlinux-stable-3517e6b6fee05b6259ca21741cbe5d7bf68aa672.tar.gz
linux-stable-3517e6b6fee05b6259ca21741cbe5d7bf68aa672.tar.bz2
linux-stable-3517e6b6fee05b6259ca21741cbe5d7bf68aa672.zip
drm/nouveau/disp: group supervisor-related struct members
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h b/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
index 0eb10e166259..593a2395ce9c 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
@@ -18,9 +18,11 @@ struct nvkm_disp {
struct nvkm_event hpd;
struct nvkm_event vblank;
- struct workqueue_struct *wq;
- struct work_struct supervisor;
- u32 super;
+ struct {
+ struct workqueue_struct *wq;
+ struct work_struct work;
+ u32 pending;
+ } super;
struct nvkm_event uevent;