drm/i915: Actually make per-fd contexts useful
Subsystems (2)
PATCH 1/1 drm/i915: Actually make per-fd contexts useful
This goes back to when there was just one global context, when restoring kinda didn't make sense.
Also with execlist we already have these semantics, so better to be a bit more consistent.
--- drivers/gpu/drm/i915/i915_gem_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_gem_context.c +1 -1
@@ -633,7 +633,7 @@ static int do_switch(struct intel_engine_cs *ring, goto unpin_out; } -if (!to->legacy_hw_ctx.initialized ||i915_gem_context_is_default (to)) +if (!to->legacy_hw_ctx.initialized) hw_flags |=MI_RESTORE_INHIBIT ; ret =mi_set_context (ring, to, hw_flags);
Signature · 6 lines
2.1.4 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Daniel Vetter
This goes back to when there was just one global context, when restoring kinda didn't make sense.
Also with execlist we already have these semantics, so better to be a bit more consistent.
Where are the benchmark results? The context switch has angered QA before...
Do we even have an igt context switch microbenchmark? -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Chris Wilson
Quoted 5 lines · Daniel Vetter
This goes back to when there was just one global context, when restoring kinda didn't make sense.
Also with execlist we already have these semantics, so better to be a bit more consistent.
Where are the benchmark results? The context switch has angered QA before...
What if we isolate fds and context by default but then let clients choose, by using per-context parameter, if they are ok with leftover state. From other context owned by them, or optionally even from other clients.
- Mika
Quoted 5 lines
Do we even have an igt context switch microbenchmark? -Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 13 lines · Mika Kuoppala
Quoted 10 lines · Chris Wilson
Quoted 5 lines · Daniel Vetter
This goes back to when there was just one global context, when restoring kinda didn't make sense.
Also with execlist we already have these semantics, so better to be a bit more consistent.
Where are the benchmark results? The context switch has angered QA before...
Quoted 6 lines
What if we isolate fds and context by default but then let clients choose, by using per-context parameter, if they are ok with leftover state. From other context owned by them, or optionally even from other clients.
- Mika
And you'd also want to ask them whether they mind /their/ data leaking out into /other/ clients' contexts :-!
.Dave.
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx