mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
radv: remove unnecessary handling of SDMA in radv_cs_emit_write_event_eop()
This function is only called for GFX or ACE. SDMA uses are already handled before. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38430>
This commit is contained in:
parent
6413651bcf
commit
9666bd1245
1 changed files with 1 additions and 4 deletions
|
|
@ -21,10 +21,7 @@ radv_cs_emit_write_event_eop(struct radv_cmd_stream *cs, enum amd_gfx_level gfx_
|
|||
unsigned event_flags, unsigned dst_sel, unsigned int_sel, unsigned data_sel, uint64_t va,
|
||||
uint32_t new_fence, uint64_t gfx9_eop_bug_va)
|
||||
{
|
||||
if (cs->hw_ip == AMD_IP_SDMA) {
|
||||
ac_emit_sdma_fence(cs->b, va, new_fence);
|
||||
return;
|
||||
}
|
||||
assert(cs->hw_ip == AMD_IP_GFX || cs->hw_ip == AMD_IP_COMPUTE);
|
||||
|
||||
/* The EOP bug is specific to GFX9. Though, RadeonSI also implements it for GFX6-8 but it
|
||||
* shouldn't be necessary because it's using SURFACE_SYNC to flush L2. See
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue