]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h
drm/nouveau/ltc/gf100-: allocate tagram with nvkm_ram_get()
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / ltc.h
index cd755baf9cab709b1384b2f1a0177117a5258721..784661ae7e98248cfc932c59b2d9ae7241453c13 100644 (file)
@@ -14,8 +14,7 @@ struct nvkm_ltc {
 
        u32 num_tags;
        u32 tag_base;
-       struct nvkm_mm tags;
-       struct nvkm_mm_node *tag_ram;
+       struct nvkm_memory *tag_ram;
 
        int zbc_min;
        int zbc_max;
@@ -25,7 +24,7 @@ struct nvkm_ltc {
 
 int nvkm_ltc_tags_alloc(struct nvkm_ltc *, u32 count, struct nvkm_mm_node **);
 void nvkm_ltc_tags_free(struct nvkm_ltc *, struct nvkm_mm_node **);
-void nvkm_ltc_tags_clear(struct nvkm_ltc *, u32 first, u32 count);
+void nvkm_ltc_tags_clear(struct nvkm_device *, u32 first, u32 count);
 
 int nvkm_ltc_zbc_color_get(struct nvkm_ltc *, int index, const u32[4]);
 int nvkm_ltc_zbc_depth_get(struct nvkm_ltc *, int index, const u32);