diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-05-08 20:39:46 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-05-18 15:01:20 +1000 |
commit | 3b9ba66ab0e027e6d7a2b9b62cbb5cd547421ebd (patch) | |
tree | 171d2f64f9c9282dd9f8c314b040c4f73b300bc5 /drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | |
parent | 85a3b9c8398b2c4c3698a9d851165acf4ffc8d26 (diff) | |
download | linux-3b9ba66ab0e027e6d7a2b9b62cbb5cd547421ebd.tar.bz2 |
drm/nouveau/disp/nv50-: delay subunit construction until oneinit
We should be reading registers to determine which subunits are really
present on a given board, and this needs to be done after DEVINIT.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h index eb0b8acb1c5b..0ae32cda45e7 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h @@ -16,6 +16,10 @@ struct nv50_disp { struct nvkm_event uevent; struct { + int nr; + } head; + + struct { u32 lvdsconf; } sor; |