panfrost: Ignore BO start addr when adjusting src_offset
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 5 Mar 2020 18:26:03 +0000 (19:26 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commitb692ab076a72be97bea6bc527ea1c2e55c5f4d3c
tree2127477a991ef016d4dc33edb7aeadbf832f1885
parent128820b88681dbcad156138594ca846c95904ee8
panfrost: Ignore BO start addr when adjusting src_offset

BOs are guaranteed to be aligned on 4K which inherently guarantees the
64 byte alignment.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
src/gallium/drivers/panfrost/pan_context.c