mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 01:40:43 +01:00
nvc0: fix ga10x compute launch
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Acked-by: M Henning <drawoc@darkrefraction.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17633>
This commit is contained in:
parent
56dbf443a8
commit
f650c2b076
1 changed files with 8 additions and 2 deletions
|
|
@ -883,8 +883,14 @@ nve4_launch_grid(struct pipe_context *pipe, const struct pipe_grid_info *info)
|
|||
PUSH_REF1(push, screen->text, NV_VRAM_DOMAIN(&screen->base) | NOUVEAU_BO_RD);
|
||||
BEGIN_NVC0(push, NVE4_CP(LAUNCH_DESC_ADDRESS), 1);
|
||||
PUSH_DATA (push, desc_gpuaddr >> 8);
|
||||
BEGIN_NVC0(push, NVE4_CP(LAUNCH), 1);
|
||||
PUSH_DATA (push, 0x3);
|
||||
if (screen->compute->oclass < GA102_COMPUTE_CLASS) {
|
||||
BEGIN_NVC0(push, NVE4_CP(LAUNCH), 1);
|
||||
PUSH_DATA (push, 0x3);
|
||||
} else {
|
||||
BEGIN_NIC0(push, SUBC_CP(0x02c0), 2);
|
||||
PUSH_DATA (push, 1);
|
||||
PUSH_DATA (push, 2);
|
||||
}
|
||||
BEGIN_NVC0(push, SUBC_CP(NV50_GRAPH_SERIALIZE), 1);
|
||||
PUSH_DATA (push, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue