diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2017-02-28 17:28:11 +0200 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@intel.com> | 2017-03-03 16:46:44 +0200 |
commit | 054b9acde6f9b7bd5e1e9739777d1cddda048305 (patch) | |
tree | a293a2c9b8b9b60723a9aaa85e7d78626fbe993d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e71677698b27f3b460d44f67389b43c4353522dd (diff) |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions