diff options
author | Ville Syrjälä <[email protected]> | 2016-12-07 19:28:03 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-01-03 11:41:28 +0200 |
commit | 9169757ae67bc927750ae907624e65cc15b4fe5a (patch) | |
tree | 90dad5b633e0ef847934665fa952cdafd6f9cbb9 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b72eb5ffa6d8601d9ba72619d75fb5b27723743a (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]>
(cherry picked from commit 4a15cdbbc55463e55a7cdcf33f84ccc742ca9c29)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions