[Intel-gfx] [PATCH 08/10] drm/i915: Replace WARNs in fence register writes with extensive asserts

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Jan 9 13:37:25 UTC 2017


On pe, 2017-01-06 at 15:25 +0000, Chris Wilson wrote:
> All of these conditions are prechecked by i915_tiling_ok() before we
> allow setting the tiling/stride on the object and so we should never
> fail asserting those conditions before writing the register.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Spotted one more of is_y_tiled ? 32 : 8, so that to be consolidated in
the future.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list