diff options
author | Ben Skeggs | 2018-05-08 12:39:47 +0200 |
---|---|---|
committer | Ben Skeggs | 2018-05-18 07:01:28 +0200 |
commit | 9d6c2fe1917fc5ba6a9e8586ca16d007410baf42 (patch) | |
tree | 2df43287dcb403caa9f63d214385f6cfadb7b48b /drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | |
parent | drm/nouveau/kms/nv50-: split base implementation by hardware class (diff) | |
download | kernel-qcow2-linux-9d6c2fe1917fc5ba6a9e8586ca16d007410baf42.tar.gz kernel-qcow2-linux-9d6c2fe1917fc5ba6a9e8586ca16d007410baf42.tar.xz kernel-qcow2-linux-9d6c2fe1917fc5ba6a9e8586ca16d007410baf42.zip |
drm/nouveau/kms/nv50-: allow specification of valid heads for a window
This will be required to support Volta, where window ID != head.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/ovly507e.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c b/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c index ceec5127a17d..1b85262bf23b 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c +++ b/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c @@ -47,7 +47,7 @@ ovly507e_new_(const struct nv50_wndw_func *func, const u32 *format, int ret; ret = nv50_wndw_new_(func, drm->dev, DRM_PLANE_TYPE_OVERLAY, - "ovly", head, format, &wndw); + "ovly", head, format, BIT(head), &wndw); if (*pwndw = wndw, ret) return ret; |