diff options
author | Michał Winiarski <[email protected]> | 2017-12-13 23:13:48 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-12-14 08:06:56 +0000 |
commit | 61b5c1587dd82a8493d7838bb2f9289fd0903364 (patch) | |
tree | fc0a3a50a3a821953c4fcfc397f2bd5cd7976baa /net/unix/sysctl_net_unix.c | |
parent | 3176ff49bc3e56871ec9f338cac759dacd0135e1 (diff) |
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 <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Sagar Arun Kamble <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions