Linux Audio

Check our new training course

Loading...
v5.14.15
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NVKM_SW_NV50_H__
 3#define __NVKM_SW_NV50_H__
 4#define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base)
 5#include "priv.h"
 6#include "chan.h"
 7#include "nvsw.h"
 8#include <core/notify.h>
 9
10struct nv50_sw_chan {
11	struct nvkm_sw_chan base;
12	struct {
13		struct nvkm_notify notify[4];
14		u32 ctxdma;
15		u64 offset;
16		u32 value;
17	} vblank;
18};
19
20void *nv50_sw_chan_dtor(struct nvkm_sw_chan *);
21#endif
v4.6
 
 1#ifndef __NVKM_SW_NV50_H__
 2#define __NVKM_SW_NV50_H__
 3#define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base)
 4#include "priv.h"
 5#include "chan.h"
 6#include "nvsw.h"
 7#include <core/notify.h>
 8
 9struct nv50_sw_chan {
10	struct nvkm_sw_chan base;
11	struct {
12		struct nvkm_notify notify[4];
13		u32 ctxdma;
14		u64 offset;
15		u32 value;
16	} vblank;
17};
18
19void *nv50_sw_chan_dtor(struct nvkm_sw_chan *);
20#endif