panfrost: Stop passing screen around for BO operations
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 08:35:47 +0000 (10:35 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:34:27 +0000 (10:34 +0200)
commite15ab939fdce7b6205090315bf45564c995a933a
tree6715800268704b74e196678385109aa47793f42c
parent10ce751726e91164538dff4d380d5568574c6963
panfrost: Stop passing screen around for BO operations

Store a screen pointer in panfrost_bo so we don't have to pass a screen
object to all functions manipulating the BO.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_allocate.c
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_bo.c
src/gallium/drivers/panfrost/pan_bo.h
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_resource.c