0001 #ifndef __NV50_KMS_OVLY_H__
0002 #define __NV50_KMS_OVLY_H__
0003 #include "wndw.h"
0004
0005 int ovly507e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
0006 int ovly507e_new_(const struct nv50_wndw_func *, const u32 *format,
0007 struct nouveau_drm *, int head, s32 oclass,
0008 u32 interlock_data, struct nv50_wndw **);
0009 int ovly507e_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
0010 struct nv50_head_atom *);
0011 void ovly507e_release(struct nv50_wndw *, struct nv50_wndw_atom *,
0012 struct nv50_head_atom *);
0013 int ovly507e_scale_set(struct nv50_wndw *, struct nv50_wndw_atom *);
0014
0015 extern const u32 ovly827e_format[];
0016 void ovly827e_ntfy_reset(struct nouveau_bo *, u32);
0017 int ovly827e_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
0018
0019 extern const struct nv50_wndw_func ovly907e;
0020
0021 int ovly827e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
0022 int ovly907e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
0023 int ovly917e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
0024
0025 int nv50_ovly_new(struct nouveau_drm *, int head, struct nv50_wndw **);
0026 #endif