1 1.1 riastrad /* $NetBSD: base.h,v 1.2 2021/12/18 23:45:32 riastradh Exp $ */ 2 1.1 riastrad 3 1.1 riastrad #ifndef __NV50_KMS_BASE_H__ 4 1.1 riastrad #define __NV50_KMS_BASE_H__ 5 1.1 riastrad #include "wndw.h" 6 1.1 riastrad 7 1.1 riastrad int base507c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 8 1.1 riastrad int base507c_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 extern const u32 base507c_format[]; 12 1.1 riastrad int base507c_acquire(struct nv50_wndw *, struct nv50_wndw_atom *, 13 1.1 riastrad struct nv50_head_atom *); 14 1.1 riastrad void base507c_release(struct nv50_wndw *, struct nv50_wndw_atom *, 15 1.1 riastrad struct nv50_head_atom *); 16 1.1 riastrad void base507c_sema_set(struct nv50_wndw *, struct nv50_wndw_atom *); 17 1.1 riastrad void base507c_sema_clr(struct nv50_wndw *); 18 1.1 riastrad void base507c_ntfy_set(struct nv50_wndw *, struct nv50_wndw_atom *); 19 1.1 riastrad void base507c_ntfy_clr(struct nv50_wndw *); 20 1.1 riastrad void base507c_xlut_set(struct nv50_wndw *, struct nv50_wndw_atom *); 21 1.1 riastrad void base507c_xlut_clr(struct nv50_wndw *); 22 1.1 riastrad void base507c_image_clr(struct nv50_wndw *); 23 1.1 riastrad void base507c_update(struct nv50_wndw *, u32 *); 24 1.1 riastrad 25 1.1 riastrad int base827c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 26 1.1 riastrad 27 1.1 riastrad int base907c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 28 1.1 riastrad extern const struct nv50_wndw_func base907c; 29 1.1 riastrad 30 1.1 riastrad int base917c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **); 31 1.1 riastrad 32 1.1 riastrad int nv50_base_new(struct nouveau_drm *, int head, struct nv50_wndw **); 33 1.1 riastrad #endif 34