Quoting Chris Wilson (2019-10-10 14:15:21)
> +static int __live_gpr_clear(struct i915_gem_context *fixme,
> + struct intel_engine_cs *engine,
> + struct i915_vma *scratch)
> +{
> + struct intel_context *ce;
> + struct i915_request *rq;
> + u32 *cs;
> + int err;
> + int n;
> +
> + if (INTEL_GEN(engine->i915) < 8 && engine->class != RENDER_CLASS)
> + return 0; /* GPR only on rcs0 for gen8 */
Nice comment, shame about the code.
I'll wait to make sure that this does indeed fail on Broadwell.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx