Commit 9f6d2ce3 authored by Ben Skeggs's avatar Ben Skeggs

drm/nv50/kms: drop requirement that framebuffer bos be contig up-front

We'll move them at pin() time if necessary.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5a560252
...@@ -2350,11 +2350,6 @@ nv50_fb_ctor(struct drm_framebuffer *fb) ...@@ -2350,11 +2350,6 @@ nv50_fb_ctor(struct drm_framebuffer *fb)
u8 kind = nouveau_bo_tile_layout(nvbo) >> 8; u8 kind = nouveau_bo_tile_layout(nvbo) >> 8;
u8 tile = nvbo->tile_mode; 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) if (drm->device.info.chipset >= 0xc0)
tile >>= 4; /* yep.. */ tile >>= 4; /* yep.. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment