diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-12 08:23:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-12 09:03:01 +0100 |
commit | 686018f283f1d131073ef5917213e6a8ac013f26 (patch) | |
tree | 20f4f3a67abba6bebf15f05887e0734da478e4fc /src/intel_memory.c | |
parent | 3d2b79098ccb3fed86be66f619f4ed338741d454 (diff) |
Turn relaxed-fencing off by default for older (pre-G33) chipsets
There are still too many unresolved bugs, typically GPU hangs, that are
related to using relaxed fencing (i.e. only allocating the minimal
amount of memory required for a buffer) on older hardware, so turn off
the feature by default for the release.
Reported-and-tested-by: Knut Petersen <Knut_Petersen@t-online.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36147
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/intel_memory.c')
-rw-r--r-- | src/intel_memory.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/intel_memory.c b/src/intel_memory.c index 64dfd8ec..763a6ad1 100644 --- a/src/intel_memory.c +++ b/src/intel_memory.c @@ -294,8 +294,6 @@ void intel_set_gem_max_sizes(ScrnInfoPtr scrn) { intel_screen_private *intel = intel_get_screen_private(scrn); struct drm_i915_gem_get_aperture aperture; - drm_i915_getparam_t gp; - int ret, value; aperture.aper_available_size = 0; drmIoctl(intel->drmSubFD, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); @@ -303,9 +301,4 @@ void intel_set_gem_max_sizes(ScrnInfoPtr scrn) intel_set_max_bo_size(intel, &aperture); intel_set_max_gtt_map_size(intel, &aperture); intel_set_max_tiling_size(intel, &aperture); - - gp.value = &value; - gp.param = I915_PARAM_HAS_RELAXED_FENCING; - ret = drmIoctl(intel->drmSubFD, DRM_IOCTL_I915_GETPARAM, &gp); - intel->has_relaxed_fencing = ret == 0; } |