diff options
author | 2017-12-13 23:13:48 +0100 | |
---|---|---|
committer | 2017-12-14 08:06:56 +0000 | |
commit | 61b5c1587dd82a8493d7838bb2f9289fd0903364 (patch) | |
tree | fc0a3a50a3a821953c4fcfc397f2bd5cd7976baa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/guc: Move GuC workqueue allocations outside of the mutex (diff) | |
download | linux-dev-61b5c1587dd82a8493d7838bb2f9289fd0903364.tar.xz linux-dev-61b5c1587dd82a8493d7838bb2f9289fd0903364.zip |
drm/i915/guc: Extract guc_init from guc_init_hw
After GPU reset, GuC HW needs to be reinitialized (with FW reload).
Unfortunately, we're doing some extra work there (mostly allocating stuff),
work that can be moved to guc_init and called once at driver load time.
As a side effect we're no longer hitting an assert in
i915_ggtt_enable_guc on suspend/resume.
v2: Do not duplicate disable_communication / reset_guc_interrupts
v3: Add proper teardown after rebase
References: 04f7b24eccdf ("drm/i915/guc: Assert that we switch between known ggtt->invalidate functions")
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171213221352.7173-3-michal.winiarski@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions