summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2017-02-28 18:28:11 +0300
committerMika Kuoppala <mika.kuoppala@intel.com>2017-03-03 17:46:44 +0300
commit054b9acde6f9b7bd5e1e9739777d1cddda048305 (patch)
treea293a2c9b8b9b60723a9aaa85e7d78626fbe993d /tools/perf
parente71677698b27f3b460d44f67389b43c4353522dd (diff)
downloadlinux-054b9acde6f9b7bd5e1e9739777d1cddda048305.tar.xz
drm/i915/gtt: Setup vm callbacks late
If we manage to tangle errorpaths and get call to callbacks, it is better to defensively keep them as null until object init is finished so that we get clean null deref on callsite, instead of more cryptic wreckage with partly initialized vm objects. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1488295691-9404-5-git-send-email-mika.kuoppala@intel.com
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions