Skip to content

Commit f33b9ab

Browse files
airliedDanilo Krummrich
authored andcommitted
nouveau: fix the fwsec sb verification register.
This aligns with what open gpu does, the 0x15 hex is just to trick you. Fixes: 176fdcb ("drm/nouveau/gsp/r535: add support for booting GSP-RM") Reviewed-by: Ben Skeggs <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 258905c commit f33b9ab

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/nouveau/nvkm/subdev/gsp

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ nvkm_gsp_fwsec_sb(struct nvkm_gsp *gsp)
324324
return ret;
325325

326326
/* Verify. */
327-
err = nvkm_rd32(device, 0x001400 + (0xf * 4)) & 0x0000ffff;
327+
err = nvkm_rd32(device, 0x001400 + (0x15 * 4)) & 0x0000ffff;
328328
if (err) {
329329
nvkm_error(subdev, "fwsec-sb: 0x%04x\n", err);
330330
return -EIO;

0 commit comments

Comments
 (0)