]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nouveau: don't fail driver load if no display hw present.
authorDave Airlie <airlied@redhat.com>
Wed, 15 Nov 2023 14:39:33 +0000 (00:39 +1000)
committerDanilo Krummrich <dakr@redhat.com>
Wed, 15 Nov 2023 17:23:31 +0000 (18:23 +0100)
commitae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07
tree45fcf1b0b9d76f0f0ef0af3d860a1b1eff969fcd
parent430143b0d3611f4a9c8434319e5e504244749e79
nouveau: don't fail driver load if no display hw present.

If we get back ENODEV don't fail load. There are nvidia devices
that don't have display blocks and the driver should work on those.

Fixes: 15740541e8f0 ("drm/nouveau/devinit/tu102-: prepare for GSP-RM")
Link: https://gitlab.freedesktop.org/drm/nouveau/-/issues/270
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231115143933.261287-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nouveau_display.c