0001 #ifndef __NV50_KMS_LUT_H__
0002 #define __NV50_KMS_LUT_H__
0003 #include <nvif/mem.h>
0004 struct drm_property_blob;
0005 struct drm_color_lut;
0006 struct nv50_disp;
0007
0008 struct nv50_lut {
0009 struct nvif_mem mem[2];
0010 };
0011
0012 int nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *);
0013 void nv50_lut_fini(struct nv50_lut *);
0014 u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *,
0015 void (*)(struct drm_color_lut *, int size, void __iomem *));
0016 #endif