mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
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: 78ade65956 ("etnaviv: Do GC3000 resolve-in-place when possible")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
parent
6a36bfc64d
commit
0158565924
1 changed files with 1 additions and 0 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue