]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/nouveau/dispnv50/wndw.h
drm/nouveau/kms/gf119-: allow both 256- and 1024-sized LUTs to be used
[linux.git] / drivers / gpu / drm / nouveau / dispnv50 / wndw.h
index c63bd3bdaf0690ea8de8acc5ba1a51bf69b384b1..caf3974759181acc8fc652f19a68ec0675dc2dc5 100644 (file)
@@ -64,12 +64,13 @@ struct nv50_wndw_func {
        void (*ntfy_clr)(struct nv50_wndw *);
        int (*ntfy_wait_begun)(struct nouveau_bo *, u32 offset,
                               struct nvif_device *);
-       void (*ilut)(struct nv50_wndw *, struct nv50_wndw_atom *);
+       bool (*ilut)(struct nv50_wndw *, struct nv50_wndw_atom *, int);
        void (*csc)(struct nv50_wndw *, struct nv50_wndw_atom *,
                    const struct drm_color_ctm *);
        void (*csc_set)(struct nv50_wndw *, struct nv50_wndw_atom *);
        void (*csc_clr)(struct nv50_wndw *);
        bool ilut_identity;
+       int  ilut_size;
        bool olut_core;
        void (*xlut_set)(struct nv50_wndw *, struct nv50_wndw_atom *);
        void (*xlut_clr)(struct nv50_wndw *);