diff options
| -rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 5 |
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 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) | |||
| 2350 | u8 kind = nouveau_bo_tile_layout(nvbo) >> 8; | 2350 | u8 kind = nouveau_bo_tile_layout(nvbo) >> 8; |
| 2351 | u8 tile = nvbo->tile_mode; | 2351 | u8 tile = nvbo->tile_mode; |
| 2352 | 2352 | ||
| 2353 | if (nvbo->tile_flags & NOUVEAU_GEM_TILE_NONCONTIG) { | ||
| 2354 | NV_ERROR(drm, "framebuffer requires contiguous bo\n"); | ||
| 2355 | return -EINVAL; | ||
| 2356 | } | ||
| 2357 | |||
| 2358 | if (drm->device.info.chipset >= 0xc0) | 2353 | if (drm->device.info.chipset >= 0xc0) |
| 2359 | tile >>= 4; /* yep.. */ | 2354 | tile >>= 4; /* yep.. */ |
| 2360 | 2355 | ||
