This takes the fix from 2cb66ae604 ("nouveau: Membar before between semaphore writes and the interrupt") and also applies it to nvc0_fence.c.
I've tested this on both ampere and kepler. Unfortunately, I don't have a maxwell card to test on so that branch in the patch hasn't been tested yet. Mel Henning (1): nouveau: On nvc0 membar between semaphore write and interrupt .../drm/nouveau/include/nvhw/class/cl906f.h | 23 +++++ .../drm/nouveau/include/nvhw/class/clb06f.h | 54 +++++++++++ .../drm/nouveau/include/nvhw/class/clc06f.h | 93 +++++++++++++++++++ .../gpu/drm/nouveau/include/nvif/push906f.h | 2 + drivers/gpu/drm/nouveau/nvc0_fence.c | 31 ++++++- 5 files changed, 200 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/nouveau/include/nvhw/class/clb06f.h create mode 100644 drivers/gpu/drm/nouveau/include/nvhw/class/clc06f.h -- 2.51.0