Back to home page

OSCL-LXR

 
 

    


0001 #ifndef __NVIF_IF0008_H__
0002 #define __NVIF_IF0008_H__
0003 struct nvif_mmu_v0 {
0004     __u8  version;
0005     __u8  dmabits;
0006     __u8  heap_nr;
0007     __u8  type_nr;
0008     __u16 kind_nr;
0009 };
0010 
0011 #define NVIF_MMU_V0_HEAP                                                   0x00
0012 #define NVIF_MMU_V0_TYPE                                                   0x01
0013 #define NVIF_MMU_V0_KIND                                                   0x02
0014 
0015 struct nvif_mmu_heap_v0 {
0016     __u8  version;
0017     __u8  index;
0018     __u8  pad02[6];
0019     __u64 size;
0020 };
0021 
0022 struct nvif_mmu_type_v0 {
0023     __u8  version;
0024     __u8  index;
0025     __u8  heap;
0026     __u8  vram;
0027     __u8  host;
0028     __u8  comp;
0029     __u8  disp;
0030     __u8  kind;
0031     __u8  mappable;
0032     __u8  coherent;
0033     __u8  uncached;
0034 };
0035 
0036 struct nvif_mmu_kind_v0 {
0037     __u8  version;
0038     __u8  kind_inv;
0039     __u16 count;
0040     __u8  data[];
0041 };
0042 #endif