From ff4dd1a526815d871e916557d3af986067d1cf76 Mon Sep 17 00:00:00 2001 From: Zbigniew Kempczyński Date: Wed, 20 May 2020 13:26:36 +0200 Subject: lib/rendercopy_bufmgr: Pass alignment during buffer initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For linear buffer buf_ops currently was extended to align the stride so we need to update the call. Signed-off-by: Zbigniew Kempczyński Cc: Chris Wilson Reviewed-by: Chris Wilson Signed-off-by: Chris Wilson --- lib/rendercopy_bufmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/rendercopy_bufmgr.c b/lib/rendercopy_bufmgr.c index 96603229..dc38d530 100644 --- a/lib/rendercopy_bufmgr.c +++ b/lib/rendercopy_bufmgr.c @@ -163,8 +163,8 @@ void igt_buf_init(struct rendercopy_bufmgr *bmgr, struct igt_buf *buf, intel_buf_init_using_handle(bmgr->bops, buf->bo->handle, &ibuf, - width, height, bpp, tiling, - compression); + width, height, bpp, 0, + tiling, compression); buf->ccs[0].offset = ibuf.aux.offset; buf->ccs[0].stride = ibuf.aux.stride; -- cgit v1.2.3