diff options
| author | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2020-05-20 13:26:36 +0200 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-20 18:59:32 +0100 |
| commit | ff4dd1a526815d871e916557d3af986067d1cf76 (patch) | |
| tree | 39cfea171a912da087de35ad238c54e9f0edb8b3 /lib | |
| parent | 8448c29b21de867212501a9e29901d275329e8b9 (diff) | |
lib/rendercopy_bufmgr: Pass alignment during buffer initialization
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 <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rendercopy_bufmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
