]> git.dujemihanovic.xyz Git - linux.git/commit
nouveau: fix devinit paths to only handle display on GSP.
authorDave Airlie <airlied@gmail.com>
Mon, 8 Apr 2024 06:42:43 +0000 (16:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Apr 2024 03:14:13 +0000 (13:14 +1000)
commit718c4fb221dbeff9072810841b949413c5ffc345
treefb04aa90c948fe1512171b6f4262742dd163ccfb
parentfec50db7033ea478773b159e0e2efb135270e3b7
nouveau: fix devinit paths to only handle display on GSP.

This reverts:
nouveau/gsp: don't check devinit disable on GSP.
and applies a further fix.

It turns out the open gpu driver, checks this register,
but only for display.

Match that behaviour and in the turing path only disable
the display block. (ampere already only does displays).

Fixes: 5d4e8ae6e57b ("nouveau/gsp: don't check devinit disable on GSP.")
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408064243.2219527-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm107.c
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/r535.c