ovly.h 1.3 KB

123456789101112131415161718192021222324252627282930
  1. #ifndef __NV50_KMS_OVLY_H__
  2. #define __NV50_KMS_OVLY_H__
  3. #include "wndw.h"
  4. int ovly507e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  5. int ovly507e_new_(const struct nv50_wndw_func *, const u32 *format,
  6. struct nouveau_drm *, int head, s32 oclass,
  7. u32 interlock_data, struct nv50_wndw **);
  8. int ovly507e_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
  9. struct nv50_head_atom *);
  10. void ovly507e_release(struct nv50_wndw *, struct nv50_wndw_atom *,
  11. struct nv50_head_atom *);
  12. void ovly507e_ntfy_set(struct nv50_wndw *, struct nv50_wndw_atom *);
  13. void ovly507e_ntfy_clr(struct nv50_wndw *);
  14. void ovly507e_image_clr(struct nv50_wndw *);
  15. void ovly507e_scale_set(struct nv50_wndw *, struct nv50_wndw_atom *);
  16. void ovly507e_update(struct nv50_wndw *, u32 *);
  17. extern const u32 ovly827e_format[];
  18. void ovly827e_ntfy_reset(struct nouveau_bo *, u32);
  19. int ovly827e_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
  20. extern const struct nv50_wndw_func ovly907e;
  21. int ovly827e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  22. int ovly907e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  23. int ovly917e_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  24. int nv50_ovly_new(struct nouveau_drm *, int head, struct nv50_wndw **);
  25. #endif