aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuanxiao Dong <[email protected]>2017-05-11 18:07:42 +0800
committerChris Wilson <[email protected]>2017-05-12 11:11:11 +0100
commit0d402a24df8c8160727af934d83293f3d44d31a3 (patch)
treec06ba57b5cf04166d489a99b4206718f117c777f /tools/perf/scripts/python
parent73cc0b9aa9afa5ba65d92e46ded61d29430d72a4 (diff)
drm/i915: set initialised only when init_context callback is NULL
During execlist_context_deferred_alloc() we presumed that the context is uninitialised (we only just allocated the state object for it!) and chose to optimise away the later call to engine->init_context() if engine->init_context were NULL. This breaks with GVT's contexts that are marked as pre-initialised to avoid us annoyingly calling engine->init_context(). The fix is to not override ce->initialised if it is already true. Cc: Chris Wilson <[email protected]> Signed-off-by: Chuanxiao Dong <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions