[Intel-gfx] [PATCH] drm/i915: Avoid using ctx->file_priv during construction

Chris Wilson chris at chris-wilson.co.uk
Sun Mar 31 07:32:52 UTC 2019


Quoting Jordan Justen (2019-03-31 04:03:44)
> I think the change is focused mainly around setting the vm param, so
> perhaps the subject should mention that. Maybe something like:

It's not just about that, it's the design in how create_ext is run
before registration which caters for more than just vm. The problem
already exists for the other extensions posted, I caught the bug in
create_ext_clone and overlooked that I had been exclusively using normal
ctx_setparam to manipulate the ppgtt.
-Chris


More information about the Intel-gfx mailing list