commit | 536ec9d7f5ab3bba904090abf7b3fc58e92eec78 | [log] [tgz] |
---|---|---|
author | Eduardo Lima Mitev <elima@igalia.com> | Tue Aug 18 10:04:02 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Aug 18 20:40:40 2020 +0000 |
tree | c8368da8fde31d90300e35ba0479d840bd823ffc | |
parent | 0eecd3d68466327567df7da468cc2088a652e22f [diff] |
freedreno: Refactor fd_resource_create_with_modifiers() into a helper The helper just allocates and resolves layout, but does not deal with scanout buffers nor allocation of the actual bo. The resolved bo size is returned as an output argument. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4565>