Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 406bc563 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180726104759.8684-1-chris@chris-wilson.co.uk
parent 65172699
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment