From: Ben Skeggs Date: Mon, 10 Nov 2014 02:36:44 +0000 (+1000) Subject: drm/nv50/kms: drop requirement that framebuffer bos be contig up-front X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f6d2ce3058d28fad5a6edc5d78e2bc36727ee8a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/nv50/kms: drop requirement that framebuffer bos be contig up-front We'll move them at pin() time if necessary. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 4a0373fba03b..0ea3a88a0dca 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -2350,11 +2350,6 @@ nv50_fb_ctor(struct drm_framebuffer *fb) u8 kind = nouveau_bo_tile_layout(nvbo) >> 8; u8 tile = nvbo->tile_mode; - if (nvbo->tile_flags & NOUVEAU_GEM_TILE_NONCONTIG) { - NV_ERROR(drm, "framebuffer requires contiguous bo\n"); - return -EINVAL; - } - if (drm->device.info.chipset >= 0xc0) tile >>= 4; /* yep.. */