mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
nvk: Implement cmd_flush_wait_dep for 2D engine
This commit is contained in:
parent
268ef76470
commit
7f299331ab
1 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "clb097.h"
|
||||
#include "clcb97.h"
|
||||
#include "nv_push_cl902d.h"
|
||||
#include "nv_push_cl906f.h"
|
||||
#include "nv_push_cla16f.h"
|
||||
#include "nv_push_cl9097.h"
|
||||
|
|
@ -598,6 +599,11 @@ nvk_cmd_flush_wait_dep(struct nvk_cmd_buffer *cmd,
|
|||
* a WFI from the channel switch.
|
||||
*/
|
||||
switch (nvk_cmd_buffer_last_subchannel(cmd)) {
|
||||
case SUBC_NV902D: {
|
||||
struct nv_push *p = nvk_cmd_buffer_push(cmd, 2);
|
||||
P_IMMD(p, NV902D, WAIT_FOR_IDLE, 0);
|
||||
break;
|
||||
}
|
||||
case SUBC_NV9097: {
|
||||
struct nv_push *p = nvk_cmd_buffer_push(cmd, 2);
|
||||
P_IMMD(p, NV9097, WAIT_FOR_IDLE, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue