1 1.1 riastrad /* $NetBSD: ovly.h,v 1.2 2021/12/18 23:45:32 riastradh Exp $ */ 2 1.1 riastrad 3 1.1 riastrad #ifndef __NV50_KMS_OVLY_H__ 4 1.1 riastrad #define __NV50_KMS_OVLY_H__ 5 1.1 riastrad #include "wndw.h" 6 1.1 riastrad 7 1.1 riastrad int ovly507e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 8 1.1 riastrad int ovly507e_new_(const struct nv50_wndw_func *, const u32 *format, 9 1.1 riastrad struct nouveau_drm *, int head, s32 oclass, 10 1.1 riastrad u32 interlock_data, struct nv50_wndw **); 11 1.1 riastrad int ovly507e_acquire(struct nv50_wndw *, struct nv50_wndw_atom *, 12 1.1 riastrad struct nv50_head_atom *); 13 1.1 riastrad void ovly507e_release(struct nv50_wndw *, struct nv50_wndw_atom *, 14 1.1 riastrad struct nv50_head_atom *); 15 1.1 riastrad void ovly507e_ntfy_set(struct nv50_wndw *, struct nv50_wndw_atom *); 16 1.1 riastrad void ovly507e_ntfy_clr(struct nv50_wndw *); 17 1.1 riastrad void ovly507e_image_clr(struct nv50_wndw *); 18 1.1 riastrad void ovly507e_scale_set(struct nv50_wndw *, struct nv50_wndw_atom *); 19 1.1 riastrad void ovly507e_update(struct nv50_wndw *, u32 *); 20 1.1 riastrad 21 1.1 riastrad extern const u32 ovly827e_format[]; 22 1.1 riastrad void ovly827e_ntfy_reset(struct nouveau_bo *, u32); 23 1.1 riastrad int ovly827e_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *); 24 1.1 riastrad 25 1.1 riastrad extern const struct nv50_wndw_func ovly907e; 26 1.1 riastrad 27 1.1 riastrad int ovly827e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 28 1.1 riastrad int ovly907e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 29 1.1 riastrad int ovly917e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 30 1.1 riastrad 31 1.1 riastrad int nv50_ovly_new(struct nouveau_drm *, int head, struct nv50_wndw **); 32 1.1 riastrad #endif 33