18c2ecf20Sopenharmony_ci#ifndef __NV50_KMS_OVLY_H__
28c2ecf20Sopenharmony_ci#define __NV50_KMS_OVLY_H__
38c2ecf20Sopenharmony_ci#include "wndw.h"
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciint ovly507e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
68c2ecf20Sopenharmony_ciint ovly507e_new_(const struct nv50_wndw_func *, const u32 *format,
78c2ecf20Sopenharmony_ci		  struct nouveau_drm *, int head, s32 oclass,
88c2ecf20Sopenharmony_ci		  u32 interlock_data, struct nv50_wndw **);
98c2ecf20Sopenharmony_ciint ovly507e_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
108c2ecf20Sopenharmony_ci		     struct nv50_head_atom *);
118c2ecf20Sopenharmony_civoid ovly507e_release(struct nv50_wndw *, struct nv50_wndw_atom *,
128c2ecf20Sopenharmony_ci		      struct nv50_head_atom *);
138c2ecf20Sopenharmony_ciint ovly507e_scale_set(struct nv50_wndw *, struct nv50_wndw_atom *);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciextern const u32 ovly827e_format[];
168c2ecf20Sopenharmony_civoid ovly827e_ntfy_reset(struct nouveau_bo *, u32);
178c2ecf20Sopenharmony_ciint ovly827e_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciextern const struct nv50_wndw_func ovly907e;
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciint ovly827e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
228c2ecf20Sopenharmony_ciint ovly907e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
238c2ecf20Sopenharmony_ciint ovly917e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciint nv50_ovly_new(struct nouveau_drm *, int head, struct nv50_wndw **);
268c2ecf20Sopenharmony_ci#endif
27