panfrost: Use dedicated u_blitter context for wallpapers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 23 Jun 2019 18:05:10 +0000 (11:05 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 25 Jun 2019 20:39:17 +0000 (13:39 -0700)
commit7005c0d83b7d33158cabf204a00f6f80f984cdaa
treed2143b17522c49b9a1c2ea85823edd44dc8a9566
parent64b7bd3f9042855389cde992134c4f3b51f3687f
panfrost: Use dedicated u_blitter context for wallpapers

The main ctx->blitter instance should be reserved for blits originated
from Gallium (like mipmap generation). Since wallpapering is
conceptually different -- wallpaper blits can be triggered by Gallium
blits -- the blitter pipes must be separate to avoid potential u_blitter
recursion.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_blit.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h