diff options
author | Ville Syrjälä <[email protected]> | 2016-12-07 19:28:03 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2016-12-22 21:27:03 +0200 |
commit | 4a15cdbbc55463e55a7cdcf33f84ccc742ca9c29 (patch) | |
tree | 66fb138dc2285a03d4fff02049d0f7552de84ef6 /tools/perf/scripts/python/netdev-times.py | |
parent | ecd9caa0522db5a6b03ac8858c42067ef9d8323b (diff) |
drm/i915: Fix oops in overlay due to frontbuffer tracking
The vma will be NULL if the overlay was previously off, so
dereferencing it will oops. Check for NULL before doing that.
Cc: [email protected]
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Fixes: 9b3b7841b86d ("drm/i915/overlay: Use VMA as the primary tracker for images")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions