162306a36Sopenharmony_ci#ifndef __NV50_KMS_LUT_H__ 262306a36Sopenharmony_ci#define __NV50_KMS_LUT_H__ 362306a36Sopenharmony_ci#include <nvif/mem.h> 462306a36Sopenharmony_cistruct drm_property_blob; 562306a36Sopenharmony_cistruct drm_color_lut; 662306a36Sopenharmony_cistruct nv50_disp; 762306a36Sopenharmony_ci 862306a36Sopenharmony_cistruct nv50_lut { 962306a36Sopenharmony_ci struct nvif_mem mem[2]; 1062306a36Sopenharmony_ci}; 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciint nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *); 1362306a36Sopenharmony_civoid nv50_lut_fini(struct nv50_lut *); 1462306a36Sopenharmony_ciu32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *, 1562306a36Sopenharmony_ci void (*)(struct drm_color_lut *, int size, void __iomem *)); 1662306a36Sopenharmony_ci#endif 17