Commit 5ff41544 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/core: output fw size in debug messages

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a128bbfa
...@@ -57,7 +57,8 @@ nvkm_firmware_get_version(const struct nvkm_subdev *subdev, const char *fwname, ...@@ -57,7 +57,8 @@ nvkm_firmware_get_version(const struct nvkm_subdev *subdev, const char *fwname,
snprintf(f, sizeof(f), "nvidia/%s/%s.bin", cname, fwname); snprintf(f, sizeof(f), "nvidia/%s/%s.bin", cname, fwname);
if (!firmware_request_nowarn(fw, f, device->dev)) { if (!firmware_request_nowarn(fw, f, device->dev)) {
nvkm_debug(subdev, "firmware \"%s\" loaded\n", f); nvkm_debug(subdev, "firmware \"%s\" loaded - "
"%zu byte(s)\n", f, (*fw)->size);
return i; return i;
} }
......
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