]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Move lrc desc setup to where it is needed
authorJohn Harrison <John.C.Harrison@Intel.com>
Wed, 2 Mar 2022 00:33:54 +0000 (16:33 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 3 Mar 2022 23:03:09 +0000 (15:03 -0800)
commit577030de45f8b1cc36d9b2f63acd05f319aec5dd
tree9ab88ffacafc4bd88aad43e4b4242da350abd651
parent97c2f37a1e41b562b64c6d21580cb08877502f1a
drm/i915/guc: Move lrc desc setup to where it is needed

The LRC descriptor was being initialised early on in the context
registration sequence. It could then be determined that the actual
registration needs to be delayed and the descriptor would be wiped
out. This is inefficient, so move the setup to later in the process
after the point of no return.

v2: Move some split changes into the split patch (and do them
correctly).

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302003357.4188363-6-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c