summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_display.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-11-10 12:36:44 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 15:44:10 +1000
commit9f6d2ce3058d28fad5a6edc5d78e2bc36727ee8a (patch)
tree7be0485265eeaab8b61bec61477eed2a9d5c3cc7 /drivers/gpu/drm/nouveau/nv50_display.c
parent5a560252387e6570342f2362bed89ffb437c3645 (diff)
downloadop-kernel-dev-9f6d2ce3058d28fad5a6edc5d78e2bc36727ee8a.zip
op-kernel-dev-9f6d2ce3058d28fad5a6edc5d78e2bc36727ee8a.tar.gz
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 <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 4a0373f..0ea3a88 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.. */
OpenPOWER on IntegriCloud