| .. | .. |
|---|
| 2 | 2 | #define __NV50_KMS_LUT_H__ |
|---|
| 3 | 3 | #include <nvif/mem.h> |
|---|
| 4 | 4 | struct drm_property_blob; |
|---|
| 5 | +struct drm_color_lut; |
|---|
| 5 | 6 | struct nv50_disp; |
|---|
| 6 | 7 | |
|---|
| 7 | 8 | struct nv50_lut { |
|---|
| .. | .. |
|---|
| 10 | 11 | |
|---|
| 11 | 12 | int nv50_lut_init(struct nv50_disp *, struct nvif_mmu *, struct nv50_lut *); |
|---|
| 12 | 13 | void nv50_lut_fini(struct nv50_lut *); |
|---|
| 13 | | -u32 nv50_lut_load(struct nv50_lut *, bool legacy, int buffer, |
|---|
| 14 | | - struct drm_property_blob *); |
|---|
| 14 | +u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *, |
|---|
| 15 | + void (*)(struct drm_color_lut *, int size, void __iomem *)); |
|---|
| 15 | 16 | #endif |
|---|