nvk/upload_queue: Only upload one line of data

This only doesn't blow up beause we set multi_line_enable = FALSE.

Fixes: 2074e28a0d ("nvk: Add an upload queue")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29183>
(cherry picked from commit 9b098209b9)
This commit is contained in:
Faith Ekstrand 2024-05-13 17:14:29 -05:00 committed by Eric Engestrom
parent 87e5487d88
commit 4bf6af791a
2 changed files with 2 additions and 2 deletions

View file

@ -1654,7 +1654,7 @@
"description": "nvk/upload_queue: Only upload one line of data",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "2074e28a0d6aa65d2a979ba6bae9012797dd3352",
"notes": null

View file

@ -317,7 +317,7 @@ nvk_upload_queue_upload_locked(struct nvk_device *dev,
P_NV90B5_PITCH_IN(&p, data_size);
P_NV90B5_PITCH_OUT(&p, data_size);
P_NV90B5_LINE_LENGTH_IN(&p, data_size);
P_NV90B5_LINE_COUNT(&p, data_size);
P_NV90B5_LINE_COUNT(&p, 1);
P_IMMD(&p, NV90B5, LAUNCH_DMA, {
.data_transfer_type = DATA_TRANSFER_TYPE_NON_PIPELINED,