diff options
author | Chris Wilson <[email protected]> | 2018-02-20 13:42:05 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-02-20 19:03:59 +0000 |
commit | ac87a6fd3631e43053d3dd228e96bbbf314566bf (patch) | |
tree | 25224323bcf04c41054a511cd8039bda9bf32038 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 9171433100c4d7f1c11b5f2483778b60a0c73f33 (diff) |
drm/i915: Also check view->type for a normal GGTT view
We cannot simply use !view as shorthand for all normal GGTT views as a
few callers will always populate a i915_ggtt_view struct and set the
type to NORMAL instead. So check for (!view || view->type == NORMAL)
inside i915_gem_object_ggtt_pin().
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions