lut.h 386 B

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