]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.c
drm/nouveau/mmu: remove old vmm frontend
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / nvkm / subdev / fb / nv04.c
index 8ff2e5db4571c49a48cb7a8b9cf930e7c783e963..c886664533c81dd3fc056a6e5220d6705ec4d53b 100644 (file)
 #include "ram.h"
 #include "regsnv04.h"
 
-bool
-nv04_fb_memtype_valid(struct nvkm_fb *fb, u32 tile_flags)
-{
-       if (!(tile_flags & 0xff00))
-               return true;
-       return false;
-}
-
 static void
 nv04_fb_init(struct nvkm_fb *fb)
 {
@@ -49,7 +41,6 @@ static const struct nvkm_fb_func
 nv04_fb = {
        .init = nv04_fb_init,
        .ram_new = nv04_ram_new,
-       .memtype_valid = nv04_fb_memtype_valid,
 };
 
 int