From c03fbb41aa3c880daae74b9c7a3684565b0bef9d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 2 Dec 2018 13:37:55 -0800 Subject: [PATCH] iris: fix dma buf import strides --- src/gallium/drivers/iris/iris_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 39b1df25b4d..6ab4614fb0e 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -484,7 +484,7 @@ iris_resource_from_handle(struct pipe_screen *pscreen, .array_len = templ->array_size, .samples = MAX2(templ->nr_samples, 1), .min_alignment_B = 0, - .row_pitch_B = 0, + .row_pitch_B = whandle->stride, .usage = isl_usage, .tiling_flags = 1 << mod_info->tiling); -- 2.30.2