mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 21:10:24 +01:00
radv: only emit ZPASS_DONE for timestamp queries on gfx queues
A ZPASS_DONE packet doesn't make sense for the compute queue. It will result in a gpu hang. This change resolves a gpu hang for SteamVR+Vega. Cc: mesa-stable@lists.freedesktop.org Fixes:1f616a840e"radv: emit a dummy ..." Signed-off-by: Andres Rodriguez <andresx7@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commitec1fcf92ae)
This commit is contained in:
parent
dadb3952df
commit
74bb9aeae9
1 changed files with 1 additions and 1 deletions
|
|
@ -699,7 +699,7 @@ void si_cs_emit_write_event_eop(struct radeon_cmdbuf *cs,
|
|||
* counters) must immediately precede every timestamp event to
|
||||
* prevent a GPU hang on GFX9.
|
||||
*/
|
||||
if (chip_class == GFX9) {
|
||||
if (chip_class == GFX9 && !is_mec) {
|
||||
radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 2, 0));
|
||||
radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_ZPASS_DONE) | EVENT_INDEX(1));
|
||||
radeon_emit(cs, gfx9_eop_bug_va);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue