Skip to content

Commit

Permalink
drm/nv50/kms: drop requirement that framebuffer bos be contig up-front
Browse files Browse the repository at this point in the history
We'll move them at pin() time if necessary.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 2, 2014
1 parent 5a56025 commit 9f6d2ce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/gpu/drm/nouveau/nv50_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.. */

Expand Down

0 comments on commit 9f6d2ce

Please sign in to comment.