lut.h (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) lut.h (cb55cd0c66a16fd965a44e2634755b060dc64bd7)
1#ifndef __NV50_KMS_LUT_H__
2#define __NV50_KMS_LUT_H__
3#include <nvif/mem.h>
4struct drm_property_blob;
1#ifndef __NV50_KMS_LUT_H__
2#define __NV50_KMS_LUT_H__
3#include <nvif/mem.h>
4struct drm_property_blob;
5struct drm_color_lut;
5struct nv50_disp;
6
7struct nv50_lut {
8 struct nvif_mem mem[2];
9};
10
11int nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *);
12void nv50_lut_fini(struct nv50_lut *);
6struct nv50_disp;
7
8struct nv50_lut {
9 struct nvif_mem mem[2];
10};
11
12int nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *);
13void nv50_lut_fini(struct nv50_lut *);
13u32 nv50_lut_load(struct nv50_lut *, bool legacy, int buffer,
14 struct drm_property_blob *);
14u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *,
15 void (*)(struct drm_color_lut *, int size, void __iomem *));
15#endif
16#endif