>@@ -582,11 +588,17 @@ int evergreen_blit_init(struct radeon_device *rdev) > obj_size = ALIGN(obj_size, 256); > > rdev->r600_blit.vs_offset = obj_size; >- obj_size += evergreen_vs_size * 4; >+ if (rdev->family < CHIP_CAYMAN) >+ obj_size += evergreen_vs_size * 4; >+ else >+ obj_size += cayman_vs_size * 4; > obj_size = ALIGN(obj_size, 256); > > rdev->r600_blit.ps_offset = obj_size; >- obj_size += evergreen_ps_size * 4; >+ if (rdev->family < CHIP_CAYMAN) >+ obj_size += evergreen_ps_size * 4; >+ else >+ obj_size += evergreen_ps_size * 4; > obj_size = ALIGN(obj_size, 256); > > r = radeon_bo_create(rdev, obj_size, PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, Hi, looks like a c&p error using evergreen_ps_size also for cayman _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel