Re: [PATCH 2/2] drm/i915/selftests: Check that GPR are cleared for new contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux