Commit 639d72e2 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/kms/nv04: use new devinit script interpreter entry-point

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 4fdc6ba3
...@@ -169,18 +169,10 @@ static inline void ...@@ -169,18 +169,10 @@ static inline void
nouveau_bios_run_init_table(struct drm_device *dev, u16 table, nouveau_bios_run_init_table(struct drm_device *dev, u16 table,
struct dcb_output *outp, int crtc) struct dcb_output *outp, int crtc)
{ {
struct nouveau_drm *drm = nouveau_drm(dev); nvbios_init(&nvxx_bios(&nouveau_drm(dev)->client.device)->subdev, table,
struct nvkm_bios *bios = nvxx_bios(&drm->client.device); init.outp = outp;
struct nvbios_init init = { init.head = crtc;
.subdev = &bios->subdev, );
.bios = bios,
.offset = table,
.outp = outp,
.crtc = crtc,
.execute = 1,
};
nvbios_exec(&init);
} }
#endif #endif
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