cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sw.h (665B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVKM_SW_H__
      3#define __NVKM_SW_H__
      4#include <core/engine.h>
      5
      6struct nvkm_sw {
      7	const struct nvkm_sw_func *func;
      8	struct nvkm_engine engine;
      9
     10	struct list_head chan;
     11};
     12
     13bool nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data);
     14
     15int nv04_sw_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sw **);
     16int nv10_sw_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sw **);
     17int nv50_sw_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sw **);
     18int gf100_sw_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sw **);
     19#endif