diff options
author | 2016-05-24 14:53:38 +0100 | |
---|---|---|
committer | 2016-05-24 15:28:55 +0100 | |
commit | c6aab9161a0343e63f44043cf22b6d67a3250143 (patch) | |
tree | 18fc3c484d5dabcc5d55170b4619f64c87ede92e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Name the inner most per-engine intel_context struct (diff) | |
download | wireguard-linux-c6aab9161a0343e63f44043cf22b6d67a3250143.tar.xz wireguard-linux-c6aab9161a0343e63f44043cf22b6d67a3250143.zip |
drm/i915: Move pinning of dev_priv->kernel_context into its creator
Rather than have every context ask "am I owned by the kernel? pin!",
move that logic into the creator of the kernel context, in order to
improve code comprehension.
v2: Throw away the user_handle on failure to allocate the ppgtt.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464098023-3294-5-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions