diff options
author | 2018-02-20 13:42:05 +0000 | |
---|---|---|
committer | 2018-02-20 19:03:59 +0000 | |
commit | ac87a6fd3631e43053d3dd228e96bbbf314566bf (patch) | |
tree | 25224323bcf04c41054a511cd8039bda9bf32038 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Drop WaDoubleCursorLP3Latency:ivb (diff) | |
download | linux-dev-ac87a6fd3631e43053d3dd228e96bbbf314566bf.tar.xz linux-dev-ac87a6fd3631e43053d3dd228e96bbbf314566bf.zip |
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 <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180220134208.24988-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions