mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
drm/i915: Remove the WARN when failing to set tiling.
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> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
2377b741ab
commit
0b3400040d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue