diff options
author | Lucas Stach <[email protected]> | 2017-12-19 17:35:59 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2018-01-01 22:48:06 +0100 |
commit | 0158565924564ec2edca7acd0ccbc33a369ea50d (patch) | |
tree | 4ec6f644b21967d250aa775d9ba16091d90c5675 /src/gallium | |
parent | 6a36bfc64d2096aa338958c4605f5fc6372c07b8 (diff) |
etnaviv: disable in-place resolve for non-supertiled surfaces
The in-place resolve probably has some additional restrictions when not
operating on a super tiled surface. Disable it on non-supertiled surfaces
for now to work around a GPU hang.
Fixes: 78ade659569e ("etnaviv: Do GC3000 resolve-in-place when possible")
Cc: [email protected]
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_rs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c index 3d9d6a0b357..7d9e8e0e389 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c @@ -143,6 +143,7 @@ etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, rs->source_offset == rs->dest_offset && rs->source_format == rs->dest_format && rs->source_tiling == rs->dest_tiling && + (rs->source_tiling & ETNA_LAYOUT_BIT_SUPER) && rs->source_stride == rs->dest_stride && !rs->downsample_x && !rs->downsample_y && !rs->swap_rb && !rs->flip && |