Re: [PATCH 09/22] drm/i915/lmem: support kernel mapping

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

 



Quoting Matthew Auld (2019-09-27 18:33:56)
> +static int igt_lmem_write_cpu(void *arg)
> +{
> +       struct drm_i915_private *i915 = arg;
> +       struct intel_context *ce = i915->engine[BCS0]->kernel_context;
> +       struct drm_i915_gem_object *obj;
> +       struct rnd_state prng;
> +       u32 *vaddr;
> +       u32 dword;
> +       u32 val;
> +       u32 sz;
> +       int err;
> +
> +       if (!HAS_ENGINE(i915, BCS0))
> +               return 0;

Too late. You've already *i915->engine[BCS0]
-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