xref: /linux/drivers/gpu/drm/nouveau/dispnv50/ovly.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
11590700dSBen Skeggs #ifndef __NV50_KMS_OVLY_H__
21590700dSBen Skeggs #define __NV50_KMS_OVLY_H__
31590700dSBen Skeggs #include "wndw.h"
41590700dSBen Skeggs 
51590700dSBen Skeggs int ovly507e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
653e0a3e7SBen Skeggs int ovly507e_new_(const struct nv50_wndw_func *, const u32 *format,
753e0a3e7SBen Skeggs 		  struct nouveau_drm *, int head, s32 oclass,
853e0a3e7SBen Skeggs 		  u32 interlock_data, struct nv50_wndw **);
92ce7f386SBen Skeggs int ovly507e_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
102ce7f386SBen Skeggs 		     struct nv50_head_atom *);
112ce7f386SBen Skeggs void ovly507e_release(struct nv50_wndw *, struct nv50_wndw_atom *,
122ce7f386SBen Skeggs 		      struct nv50_head_atom *);
13*0a4693e8SBen Skeggs int ovly507e_scale_set(struct nv50_wndw *, struct nv50_wndw_atom *);
1453e0a3e7SBen Skeggs 
1553e0a3e7SBen Skeggs extern const u32 ovly827e_format[];
162ce7f386SBen Skeggs void ovly827e_ntfy_reset(struct nouveau_bo *, u32);
172ce7f386SBen Skeggs int ovly827e_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
182ce7f386SBen Skeggs 
192ce7f386SBen Skeggs extern const struct nv50_wndw_func ovly907e;
2053e0a3e7SBen Skeggs 
2153e0a3e7SBen Skeggs int ovly827e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
2253e0a3e7SBen Skeggs int ovly907e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
232ce7f386SBen Skeggs int ovly917e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
241590700dSBen Skeggs 
251590700dSBen Skeggs int nv50_ovly_new(struct nouveau_drm *, int head, struct nv50_wndw **);
261590700dSBen Skeggs #endif
27