commit | 406bc5633c6b1c7e7a86230db312ee34e785a8f1 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jul 26 11:47:59 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jul 26 12:30:24 2018 +0100 |
tree | 877bee3e1e47e59d6fbc32e161c8584c67892b7f | |
parent | 65172699a8bd9956705f71fb8b66b1068a1bb5cd [diff] |
drm/i915: Avoid computing tile_row_size() for untiled objects i915_gem_tile_height() asserts that the object is tiled, but inside the error printer for the selftest we computed the row size regardless of tiling, tripping over the assert. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180726104759.8684-1-chris@chris-wilson.co.uk