On Sat, 22 Oct 2011 19:41:23 -0700, Ben Widawsky <[email protected]> wrote:
> + mode != dev_priv->relative_constants_mode) {
> + if (INTEL_INFO(dev)->gen < 4)
> + return -EINVAL;
> +
> + if (INTEL_INFO(dev)->gen > 5 &&
> + mode == I915_EXEC_CONSTANTS_REL_SURFACE)
> + return -EINVAL;
You need to clean up before returning; you've allocated cliprects and an
exec buffer and also locked the mutex.
--
[email protected]
pgpUyl0nRzqNh.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
