[Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via CPU/GTT
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 22 08:05:24 PDT 2015
On Wed, Jul 22, 2015 at 04:01:33PM +0100, Tvrtko Ursulin wrote:
> >+ ret = i915_gem_obj_ggtt_pin(obj, alignment, PIN_MAPPABLE);
> >+ if (ret) {
> >+ DRM_ERROR("Mapping of gem object to GTT failed\n");
>
> Maybe end the sentence with "!" ?
Or better yet, don't do anything. The error is propagate back to the
user, and is going to be -EINTR.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list