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

gf100.h (589B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVKM_RAM_NVC0_H__
      3#define __NVKM_RAM_NVC0_H__
      4#define gf100_fb(p) container_of((p), struct gf100_fb, base)
      5#include "priv.h"
      6
      7struct gf100_fb {
      8	struct nvkm_fb base;
      9	struct page *r100c10_page;
     10	dma_addr_t r100c10;
     11};
     12
     13int gf100_fb_new_(const struct nvkm_fb_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
     14		  struct nvkm_fb **);
     15void *gf100_fb_dtor(struct nvkm_fb *);
     16void gf100_fb_init(struct nvkm_fb *);
     17void gf100_fb_intr(struct nvkm_fb *);
     18
     19void gp100_fb_init(struct nvkm_fb *);
     20
     21void gm200_fb_init(struct nvkm_fb *base);
     22#endif