drm/i915: Remove "Attempting to unbind pinned buffer" message
This error message is removed in later versions of Linux and currently, it spams users. PR: 200712 MFC of: r289109
This commit is contained in:
parent
7be34d59a5
commit
2ed939d896
@ -2771,10 +2771,8 @@ i915_gem_object_unbind(struct drm_i915_gem_object *obj)
|
||||
ret = 0;
|
||||
if (obj->gtt_space == NULL)
|
||||
return (0);
|
||||
if (obj->pin_count != 0) {
|
||||
DRM_ERROR("Attempting to unbind pinned buffer\n");
|
||||
if (obj->pin_count != 0)
|
||||
return (-EINVAL);
|
||||
}
|
||||
|
||||
ret = i915_gem_object_finish_gpu(obj);
|
||||
if (ret == -ERESTARTSYS || ret == -EINTR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user