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