mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
Revert "radeonsi/gfx11: program SAMPLE_MASK_TRACKER_WATERMARK optimally for APUs"
This reverts commit6ce3a95852. This likely also causes random GPU hangs. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34306> (cherry picked from commit5784a36fd1)
This commit is contained in:
parent
ccc86bd62e
commit
93a4a2ec1b
2 changed files with 3 additions and 4 deletions
|
|
@ -54,7 +54,7 @@
|
|||
"description": "Revert \"radeonsi/gfx11: program SAMPLE_MASK_TRACKER_WATERMARK optimally for APUs\"",
|
||||
"nominated": true,
|
||||
"nomination_type": 3,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "6ce3a958523dd0be97d9fb9e29af9336440b1213",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -78,9 +78,8 @@ static void si_emit_cb_render_state(struct si_context *sctx, unsigned index)
|
|||
blend->dcc_msaa_corruption_4bit & cb_target_mask && sctx->framebuffer.nr_samples >= 2;
|
||||
|
||||
if (sctx->gfx_level >= GFX11) {
|
||||
cb_dcc_control =
|
||||
S_028424_SAMPLE_MASK_TRACKER_DISABLE(oc_disable) |
|
||||
S_028424_SAMPLE_MASK_TRACKER_WATERMARK(sctx->screen->info.has_dedicated_vram ? 0 : 15);
|
||||
cb_dcc_control = S_028424_SAMPLE_MASK_TRACKER_DISABLE(oc_disable) |
|
||||
S_028424_SAMPLE_MASK_TRACKER_WATERMARK(0);
|
||||
} else {
|
||||
cb_dcc_control =
|
||||
S_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(sctx->gfx_level <= GFX9) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue