~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel:drm-intel-gt-next-backup

Last commit made on 2021-03-03
Get this branch:
git clone -b drm-intel-gt-next-backup https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel
Members of Ubuntu Kernel Test can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
drm-intel-gt-next-backup
Repository:
lp:~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel

Recent commits

5a1a659... by Tvrtko Ursulin <email address hidden>

drm/i915: Wedge the GPU if command parser setup fails

Commit 311a50e76a33 ("drm/i915: Add support for mandatory cmdparsing")
introduced mandatory command parsing but setup failures were not
translated into wedging the GPU which was probably the intent.

Possible errors come in two categories. Either the sanity check on
internal tables has failed, which should be caught in CI unless an
affected platform would be missed in testing; or memory allocation failure
happened during driver load, which should be extremely unlikely but for
correctness should still be handled.

v2:
 * Tidy coding style. (Chris)

Signed-off-by: Tvrtko Ursulin <email address hidden>
Fixes: 311a50e76a33 ("drm/i915: Add support for mandatory cmdparsing")
Cc: Jon Bloomfield <email address hidden>
Cc: Joonas Lahtinen <email address hidden>
Cc: Chris Wilson <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>

1914911... by Chris Wilson

drm/i915/gt: Correct surface base address for renderclear

The surface_state_base is an offset into the batch, so we need to pass
the correct batch address for STATE_BASE_ADDRESS.

Fixes: 47f8253d2b89 ("drm/i915/gen7: Clear all EU/L3 residual contexts")
Signed-off-by: Chris Wilson <email address hidden>
Cc: Mika Kuoppala <email address hidden>
Cc: Prathap Kumar Valsan <email address hidden>
Cc: Akeem G Abodunrin <email address hidden>
Cc: Hans de Goede <email address hidden>
Reviewed-by: Mika Kuoppala <email address hidden>
Cc: <email address hidden> # v5.7+
Link: https://patchwork<email address hidden>

862abd0... by Chris Wilson

drm/i915: Wrap i915_request_use_semaphores()

Wrap the query on whether the backend engine supports us emitting
semaphores to coordinate multiple requests.

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

a2cdaff... by Chris Wilson

drm/i915: Show execlists queues when dumping state

Move the scheduler pretty printer from out of the execlists register
state to and push it to the schduler.

v2: It's not common to all, so shove it out of intel_engine_cs and
split it between scheduler front/back ends

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

564c84a... by Chris Wilson

drm/i915: Move finding the current active request to the scheduler

Since finding the currently active request starts by walking the
scheduler lists under the scheduler lock, move the routine to the
scheduler.

v2: Wrap se->active() with i915_sched_get_active_request()

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

f06f516... by Chris Wilson

drm/i915: Move submit_request to i915_sched_engine

Claim the submit_request vfunc as the entry point into the scheduler
backend for ready requests.

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

38a40d2... by Chris Wilson

drm/i915/gt: Only kick the scheduler on timeslice/preemption change

Kick the scheduler to allow it to see the timeslice duration change,
don't peek into execlists.

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

4f08e41... by Chris Wilson

drm/i915: Move tasklet from execlists to sched

Move the scheduling tasklists out of the execlists backend into the
per-engine scheduling bookkeeping.

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

5d814ae... by Chris Wilson

drm/i915: Move scheduler queue

Extract the scheduling queue from "execlists" into the per-engine
scheduling structs, for reuse by other backends.

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>

4d4da5a... by Chris Wilson

drm/i915: Move common active lists from engine to i915_scheduler

Extract the scheduler lists into a related structure, stop sprawling
over struct intel_engine_cs. Also transfer the responsibility of tracing
the scheduler events from ENGINE_TRACE() to SCHED_TRACE().

Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>