diff options
author | Chris Wilson <[email protected]> | 2016-05-24 14:53:38 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-05-24 15:28:55 +0100 |
commit | c6aab9161a0343e63f44043cf22b6d67a3250143 (patch) | |
tree | 18fc3c484d5dabcc5d55170b4619f64c87ede92e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 9021ad03d05710192f6d50f6732b9d2354113cd0 (diff) |
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 <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions