drm/nouveau/mmu/gf100-: type-based vram allocation and bar mapping
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#define NVIF_CLASS_MEM /* if000a.h */ 0x8000000a
|
||||
#define NVIF_CLASS_MEM_NV04 /* if000b.h */ 0x8000000b
|
||||
#define NVIF_CLASS_MEM_NV50 /* if500b.h */ 0x8000500b
|
||||
#define NVIF_CLASS_MEM_GF100 /* if900b.h */ 0x8000900b
|
||||
|
||||
#define NVIF_CLASS_VMM /* if000c.h */ 0x8000000c
|
||||
#define NVIF_CLASS_VMM_NV04 /* if000d.h */ 0x8000000d
|
||||
|
23
drivers/gpu/drm/nouveau/include/nvif/if900b.h
Normal file
23
drivers/gpu/drm/nouveau/include/nvif/if900b.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef __NVIF_IF900B_H__
|
||||
#define __NVIF_IF900B_H__
|
||||
#include "if000a.h"
|
||||
|
||||
struct gf100_mem_vn {
|
||||
/* nvif_mem_vX ... */
|
||||
};
|
||||
|
||||
struct gf100_mem_v0 {
|
||||
/* nvif_mem_vX ... */
|
||||
__u8 version;
|
||||
__u8 contig;
|
||||
};
|
||||
|
||||
struct gf100_mem_map_vn {
|
||||
};
|
||||
|
||||
struct gf100_mem_map_v0 {
|
||||
__u8 version;
|
||||
__u8 ro;
|
||||
__u8 kind;
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user