18c2ecf20Sopenharmony_ci#ifndef __NV50_KMS_LUT_H__ 28c2ecf20Sopenharmony_ci#define __NV50_KMS_LUT_H__ 38c2ecf20Sopenharmony_ci#include <nvif/mem.h> 48c2ecf20Sopenharmony_cistruct drm_property_blob; 58c2ecf20Sopenharmony_cistruct drm_color_lut; 68c2ecf20Sopenharmony_cistruct nv50_disp; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct nv50_lut { 98c2ecf20Sopenharmony_ci struct nvif_mem mem[2]; 108c2ecf20Sopenharmony_ci}; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciint nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *); 138c2ecf20Sopenharmony_civoid nv50_lut_fini(struct nv50_lut *); 148c2ecf20Sopenharmony_ciu32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *, 158c2ecf20Sopenharmony_ci void (*)(struct drm_color_lut *, int size, void __iomem *)); 168c2ecf20Sopenharmony_ci#endif 17