OSDN Git Service

i965: Stop calling drm_intel_bufmgr_gem_enable_fenced_relocs().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Mar 2017 00:08:20 +0000 (17:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:30:44 +0000 (14:30 -0700)
This does nothing on Gen4+, which is the only hardware we support.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_screen.c

index 872d708..bcd34b8 100644 (file)
@@ -1281,8 +1281,6 @@ intel_init_bufmgr(struct intel_screen *screen)
       return false;
    }
 
-   drm_intel_bufmgr_gem_enable_fenced_relocs(screen->bufmgr);
-
    if (!intel_get_boolean(screen, I915_PARAM_HAS_WAIT_TIMEOUT)) {
       fprintf(stderr, "[%s: %u] Kernel 3.6 required.\n", __func__, __LINE__);
       return false;