Commit e672f5f3 authored by Ben Skeggs's avatar Ben Skeggs Committed by Dave Airlie
Browse files

drm/nouveau/kms/tu102-: disable vbios parsing when running on RM



- on HW, parts of this will still be used to support LVDS
- LVDS appears to have dissapeared before Turing, so this won't be
  needed at all when running on RM

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230918202149.4343-31-skeggsb@gmail.com
parent f4032134
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@
#include "dispnv04/hw.h"
#include "nouveau_encoder.h"

#include <subdev/gsp.h>

#include <linux/io-mapping.h>
#include <linux/firmware.h>

@@ -2087,7 +2089,8 @@ nouveau_bios_init(struct drm_device *dev)
	int ret;

	/* only relevant for PCI devices */
	if (!dev_is_pci(dev->dev))
	if (!dev_is_pci(dev->dev) ||
	    nvkm_gsp_rm(nvxx_device(&drm->client.device)->gsp))
		return 0;

	if (!NVInitVBIOS(dev))