Skip to content

Commit

Permalink
drm/nouveau/core: output fw size in debug messages
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jan 15, 2020
1 parent a128bbf commit 5ff4154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nvkm/core/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

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;
}

Expand Down

0 comments on commit 5ff4154

Please sign in to comment.