diff options
author | Ville Syrjälä <[email protected]> | 2016-12-07 17:56:47 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-01-03 11:41:17 +0200 |
commit | b72eb5ffa6d8601d9ba72619d75fb5b27723743a (patch) | |
tree | ab82e903610ecd28f440e05666f6cfb21ccf0f09 /scripts/gdb/linux/proc.py | |
parent | a6d3e7d35d088b2aabad1688b740e17bfdf566c5 (diff) |
drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff
The i915_gem_active stuff doesn't like a NULL ->retire hook, but
the overlay code can set it to NULL. That obviously ends up oopsing.
Fix it by introducing a new helper to assign the retirement callback
that will switch out the NULL function pointer with
i915_gem_retire_noop.
Cc: [email protected]
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Fixes: 0d9bdd886f29 ("drm/i915: Convert intel_overlay to request tracking")
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit ecd9caa0522db5a6b03ac8858c42067ef9d8323b)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions