Commit 6a0fd03a authored by Ben Skeggs's avatar Ben Skeggs Committed by Dave Airlie

drm/nouveau/bus/tu102-: prepare for GSP-RM

- disable BUS completely when GSP-RM detected
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-8-skeggsb@gmail.com
parent 45655ff0
......@@ -24,6 +24,8 @@
*/
#include "priv.h"
#include <subdev/gsp.h>
static void
gf100_bus_intr(struct nvkm_bus *bus)
{
......@@ -72,5 +74,8 @@ int
gf100_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_bus **pbus)
{
if (nvkm_gsp_rm(device->gsp))
return -ENODEV;
return nvkm_bus_new_(&gf100_bus, device, type, inst, pbus);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment