Replace the tiling parameter with a modifier parameter. I find it more straightforward to have this function figure out the tiling from the modifier than to have its caller do it.
493298528a8 iris: Make iris_bo_import_dmabuf take a modifier
src/gallium/drivers/iris/iris_bufmgr.c | 9 +++++----
src/gallium/drivers/iris/iris_bufmgr.h | 2 +-
src/gallium/drivers/iris/iris_resource.c | 7 +------
3 files changed, 7 insertions(+), 11 deletions(-)
Upstream: cgit.freedesktop.org