base.h 1.1 KB

123456789101112131415161718192021222324252627
  1. #ifndef __NV50_KMS_BASE_H__
  2. #define __NV50_KMS_BASE_H__
  3. #include "wndw.h"
  4. int base507c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  5. int base507c_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. extern const u32 base507c_format[];
  9. int base507c_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
  10. struct nv50_head_atom *);
  11. void base507c_release(struct nv50_wndw *, struct nv50_wndw_atom *,
  12. struct nv50_head_atom *);
  13. int base507c_sema_set(struct nv50_wndw *, struct nv50_wndw_atom *);
  14. int base507c_sema_clr(struct nv50_wndw *);
  15. int base507c_xlut_set(struct nv50_wndw *, struct nv50_wndw_atom *);
  16. int base507c_xlut_clr(struct nv50_wndw *);
  17. int base827c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  18. int base907c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  19. extern const struct nv50_wndw_func base907c;
  20. int base917c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
  21. int nv50_base_new(struct nouveau_drm *, int head, struct nv50_wndw **);
  22. #endif