brintos

brintos / linux-shallow public Read only

0
0
Text · 443 B · b42289c Raw
22 lines · c
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/event.h>9 10struct nv50_sw_chan {11	struct nvkm_sw_chan base;12	struct {13		struct nvkm_event_ntfy 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#endif22