Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / dispnv50 / lut.h
blobb3b9040cfe9a9c9f1c4701ebfab2a5ead95c7b6a
1 #ifndef __NV50_KMS_LUT_H__
2 #define __NV50_KMS_LUT_H__
3 #include <nvif/mem.h>
4 struct drm_property_blob;
5 struct drm_color_lut;
6 struct nv50_disp;
8 struct nv50_lut {
9 struct nvif_mem mem[2];
12 int nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *);
13 void nv50_lut_fini(struct nv50_lut *);
14 u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *,
15 void (*)(struct drm_color_lut *, int size, void __iomem *));
16 #endif