base.h (ccd27db8c731817ef36e75de2b5fdc2e79550213) base.h (53e0a3e70de69dc9f498d26c6b5495b2771ee374)
1#ifndef __NV50_KMS_BASE_H__
2#define __NV50_KMS_BASE_H__
3#include "wndw.h"
4
5int base507c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
6int base507c_new_(const struct nv50_wndw_func *, const u32 *format,
7 struct nouveau_drm *, int head, s32 oclass,
1#ifndef __NV50_KMS_BASE_H__
2#define __NV50_KMS_BASE_H__
3#include "wndw.h"
4
5int base507c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
6int base507c_new_(const struct nv50_wndw_func *, const u32 *format,
7 struct nouveau_drm *, int head, s32 oclass,
8 struct nv50_wndw **);
8 u32 interlock_data, struct nv50_wndw **);
9extern const u32 base507c_format[];
10int base507c_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
11 struct nv50_head_atom *);
12void base507c_release(struct nv50_wndw *, struct nv50_wndw_atom *,
13 struct nv50_head_atom *);
14void base507c_sema_set(struct nv50_wndw *, struct nv50_wndw_atom *);
15void base507c_sema_clr(struct nv50_wndw *);
16void base507c_ntfy_reset(struct nouveau_bo *, u32);
17void base507c_ntfy_set(struct nv50_wndw *, struct nv50_wndw_atom *);
18void base507c_ntfy_clr(struct nv50_wndw *);
19int base507c_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
20void base507c_image_clr(struct nv50_wndw *);
21void base507c_lut(struct nv50_wndw *, struct nv50_wndw_atom *);
9extern const u32 base507c_format[];
10int base507c_acquire(struct nv50_wndw *, struct nv50_wndw_atom *,
11 struct nv50_head_atom *);
12void base507c_release(struct nv50_wndw *, struct nv50_wndw_atom *,
13 struct nv50_head_atom *);
14void base507c_sema_set(struct nv50_wndw *, struct nv50_wndw_atom *);
15void base507c_sema_clr(struct nv50_wndw *);
16void base507c_ntfy_reset(struct nouveau_bo *, u32);
17void base507c_ntfy_set(struct nv50_wndw *, struct nv50_wndw_atom *);
18void base507c_ntfy_clr(struct nv50_wndw *);
19int base507c_ntfy_wait_begun(struct nouveau_bo *, u32, struct nvif_device *);
20void base507c_image_clr(struct nv50_wndw *);
21void base507c_lut(struct nv50_wndw *, struct nv50_wndw_atom *);
22u32 base507c_update(struct nv50_wndw *, u32);
22void base507c_update(struct nv50_wndw *, u32 *);
23
24int base827c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
25
26int base907c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
27
28int nv50_base_new(struct nouveau_drm *, int head, struct nv50_wndw **);
29#endif
23
24int base827c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
25
26int base907c_new(struct nouveau_drm *, int, s32, struct nv50_wndw **);
27
28int nv50_base_new(struct nouveau_drm *, int head, struct nv50_wndw **);
29#endif