]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nouveau: fw: sync dma after setup is called.
authorDave Airlie <airlied@redhat.com>
Tue, 12 Nov 2024 19:57:03 +0000 (05:57 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Nov 2024 01:50:01 +0000 (11:50 +1000)
commit21ec425eaf2cb7c0371f7683f81ad7d9679b6eb5
tree231d3f56db77af728ee3156d3a3c4b115f42c393
parent3387e043918e154ca08d83954966a8b087fe2835
nouveau: fw: sync dma after setup is called.

When this code moved to non-coherent allocator the sync was put too
early for some firmwares which called the setup function, move the
sync down after the setup function.

Reported-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Tested-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Fixes: 9b340aeb26d5 ("nouveau/firmware: use dma non-coherent allocator")
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241114004603.3095485-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c