[igt-dev] [PATCH i-g-t v30 03/33] lib/intel_bufops: change stride requirements for Grantsdale
Chris Wilson
chris at chris-wilson.co.uk
Wed Aug 19 12:37:14 UTC 2020
Quoting Zbigniew Kempczyński (2020-08-19 13:32:36)
> Grantsdale requires 512 stride on Y tiling.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> lib/intel_bufops.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/lib/intel_bufops.c b/lib/intel_bufops.c
> index 2a9b07a5..c641dba4 100644
> --- a/lib/intel_bufops.c
> +++ b/lib/intel_bufops.c
> @@ -752,8 +752,7 @@ static void __intel_buf_init(struct buf_ops *bops,
>
> if (bops->intel_gen < 3)
> tile_width = 128;
> - else if (IS_915GM(devid) || IS_915G(devid) ||
> - buf->tiling == I915_TILING_X)
> + else if (IS_915G(devid) || buf->tiling == I915_TILING_X)
> tile_width = 512;
So does i915gm.
-Chris
More information about the igt-dev
mailing list