File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -4558,22 +4558,6 @@ void i915_gem_init_swizzling(struct drm_device *dev)
4558
4558
BUG ();
4559
4559
}
4560
4560
4561
- static bool
4562
- intel_enable_blt (struct drm_device * dev )
4563
- {
4564
- if (!HAS_BLT (dev ))
4565
- return false;
4566
-
4567
- /* The blitter was dysfunctional on early prototypes */
4568
- if (IS_GEN6 (dev ) && dev -> pdev -> revision < 8 ) {
4569
- DRM_INFO ("BLT not supported on this pre-production hardware;"
4570
- " graphics performance will be degraded.\n" );
4571
- return false;
4572
- }
4573
-
4574
- return true;
4575
- }
4576
-
4577
4561
static void init_unused_ring (struct drm_device * dev , u32 base )
4578
4562
{
4579
4563
struct drm_i915_private * dev_priv = dev -> dev_private ;
@@ -4616,7 +4600,7 @@ int i915_gem_init_rings(struct drm_device *dev)
4616
4600
goto cleanup_render_ring ;
4617
4601
}
4618
4602
4619
- if (intel_enable_blt (dev )) {
4603
+ if (HAS_BLT (dev )) {
4620
4604
ret = intel_init_blt_ring_buffer (dev );
4621
4605
if (ret )
4622
4606
goto cleanup_bsd_ring ;
You can’t perform that action at this time.
0 commit comments