All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Ben Widawsky <benjamin.widawsky@intel.com>
Subject: [PATCH 08/11] drm/i915: Allow blocking in the PDE alloc when running low on gtt space
Date: Fri, 14 Feb 2014 14:01:18 +0100	[thread overview]
Message-ID: <1392382881-19073-9-git-send-email-daniel.vetter@ffwll.ch> (raw)
In-Reply-To: <1392382881-19073-1-git-send-email-daniel.vetter@ffwll.ch>

There's no need not to, really.

Split out from Chris vma-bind rework.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 154e1ad8bfab..af3bd9b6fa27 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -868,7 +868,7 @@ alloc:
 	if (ret == -ENOSPC && !retried) {
 		ret = i915_gem_evict_something(dev, &dev_priv->gtt.base,
 					       GEN6_PD_SIZE, GEN6_PD_ALIGN,
-					       I915_CACHE_NONE, PIN_NONBLOCK);
+					       I915_CACHE_NONE, 0);
 		if (ret)
 			return ret;
 
-- 
1.8.5.2

  parent reply	other threads:[~2014-02-14 13:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 13:01 Shuffled full-ppgtt vma binding performance fix Daniel Vetter
2014-02-14 13:01 ` [PATCH 01/11] drm/i915: Consolidate binding parameters into flags Daniel Vetter
2014-02-14 13:01 ` [PATCH 02/11] drm/i915: split PIN_GLOBAL out from PIN_MAPPABLE Daniel Vetter
2014-02-14 13:01 ` [PATCH 03/11] drm/i915: Handle set_cache_level errors in the pipe control scratch setup Daniel Vetter
2014-02-14 13:01 ` [PATCH 04/11] drm/i915: Don't set PIN_MAPPABLE for legacy ringbuffers Daniel Vetter
2014-02-14 13:01 ` [PATCH 05/11] drm/i915: Don't pin the status page as mappable Daniel Vetter
2014-02-14 13:01 ` [PATCH 06/11] drm/i915: Handle set_cache_level errors in the status page setup Daniel Vetter
2014-02-14 13:01 ` [PATCH 07/11] drm/i915: Don't allocate context pages as mappable Daniel Vetter
2014-02-14 13:01 ` Daniel Vetter [this message]
2014-02-14 13:01 ` [PATCH 09/11] drm/i915: Simplify i915_gem_object_ggtt_unpin Daniel Vetter
2014-02-14 13:01 ` [PATCH 10/11] drm/i915: Directly return the vma from bind_to_vm Daniel Vetter
2014-02-14 13:01 ` [PATCH 11/11] drm/i915: Only bind each object rather than for every execbuffer Daniel Vetter
2014-02-14 13:08 ` Shuffled full-ppgtt vma binding performance fix Chris Wilson
2014-02-14 13:19   ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392382881-19073-9-git-send-email-daniel.vetter@ffwll.ch \
    --to=daniel.vetter@ffwll.ch \
    --cc=benjamin.widawsky@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.