panfrost: Extend pan_fb_info to allow passing a tile enable map
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 7 Apr 2021 13:38:12 +0000 (15:38 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 18:06:37 +0000 (18:06 +0000)
commitc52c3e2424df91f66107340ace990f88b5b34dba
treedfa78318692e3a551feba82d00f02e8499d7b249
parent96b71a59c0ae6e3fb336608a10b1c27de11db922
panfrost: Extend pan_fb_info to allow passing a tile enable map

We will use this tile enable map to implement KHR_partial_update and
replace the current solution where the preload process is done by
inverting damage regions, merging the resulting inverted regions and
issuing preloading draws for those rectangles.

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/10033>
src/panfrost/lib/pan_cs.c
src/panfrost/lib/pan_cs.h