drm/nouveau: bring back blit subchannel for pre nv50 GPUs
authorKarol Herbst <kherbst@redhat.com>
Fri, 26 May 2023 09:10:52 +0000 (11:10 +0200)
committerKarol Herbst <kherbst@redhat.com>
Wed, 12 Jul 2023 20:38:41 +0000 (22:38 +0200)
commit835a65f51790e1f72b1ab106ec89db9ac15b47d6
treebc9f2e8d9b422f7d5091aba345d38c956ef4e363
parent938a06c8b7913455073506c33ae3bff029c3c4ef
drm/nouveau: bring back blit subchannel for pre nv50 GPUs

1ba6113a90a0 removed a lot of the kernel GPU channel, but method 0x128
was important as otherwise the GPU spams us with `CACHE_ERROR` messages.

We use the blit subchannel inside our vblank handling, so we should keep
at least this part.

v2: Only do it for NV11+ GPUs

Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/201
Fixes: 4a16dd9d18a0 ("drm/nouveau/kms: switch to drm fbdev helpers")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230526091052.2169044-1-kherbst@redhat.com
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nouveau_chan.h
drivers/gpu/drm/nouveau/nouveau_drm.c