* [PATCH] drm/i915: Remove the WARN when failing to set tiling.
@ 2010-06-06 12:21 Chris Wilson
2010-07-06 7:07 ` Eric Anholt
0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilson @ 2010-06-06 12:21 UTC (permalink / raw)
To: intel-gfx
We generally issue an error message at the point of failure, and so this
warning with a fairly pointless stacktrace is superfluous and ugly.
Needless to say, the common trigger for this WARN happens to be EIO
where this is pure noise.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gem_tiling.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c
index 4b7c49d..155719e 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -333,8 +333,6 @@ i915_gem_set_tiling(struct drm_device *dev, void *data,
i915_gem_release_mmap(obj);
if (ret != 0) {
- WARN(ret != -ERESTARTSYS,
- "failed to reset object for tiling switch");
args->tiling_mode = obj_priv->tiling_mode;
args->stride = obj_priv->stride;
goto err;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/i915: Remove the WARN when failing to set tiling.
2010-06-06 12:21 [PATCH] drm/i915: Remove the WARN when failing to set tiling Chris Wilson
@ 2010-07-06 7:07 ` Eric Anholt
0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2010-07-06 7:07 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 345 bytes --]
On Sun, 6 Jun 2010 13:21:26 +0100, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> We generally issue an error message at the point of failure, and so this
> warning with a fairly pointless stacktrace is superfluous and ugly.
> Needless to say, the common trigger for this WARN happens to be EIO
> where this is pure noise.
Applied. Thanks!
[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-06 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-06 12:21 [PATCH] drm/i915: Remove the WARN when failing to set tiling Chris Wilson
2010-07-06 7:07 ` Eric Anholt
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.