Skip to contentSkip to conversation

drm/nouveau/gr/gf100: Log info message when loading external firmware

PATCH Dan Moulding 2 participants 2 messages Sep 29, 2016 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Any comments? I also think for developers, it's good to be able to see from someone's dmesg output whether or not external firmware was loaded. Unless there is some other way to do that without this log message?

-- Dan

On Sep 17, 2016, at 02:04 AM, Dan Moulding <[email protected]> wrote:

In previous versions, it used to log an info message when loading external GR firmware. But that info message was (inadvertently?) removed in commit 18cd5bc. This just adds it back. It's nice for users to be able to confirm whether external firmware was loaded or not.

---
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 1 +

1 file changed, 1 insertion(+)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +0 -0
index ae9ab5b..0ed56ff 100644
@@ -1805,6 +1805,7 @@ gf100_gr_new_(const struct gf100_gr_func *func, struct nvkm_device *device,

     return ret;

     if (gr->firmware) {
+          nvkm_info(&gr->base.engine.subdev, "using external firmware\n"); if (gf100_gr_ctor_fw(gr, "fecs_inst", &gr->fuc409c) || gf100_gr_ctor_fw(gr, "fecs_data", &gr->fuc409d) || gf100_gr_ctor_fw(gr, "gpccs_inst", &gr->fuc41ac) ||

Signature · 1 line
2.7.3

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 00690da3-6595-47d3-ab3f-28147730bf69-BUHhN+a2lJ4@public.gmane.org

#2 lore raw

A ton of stuff that used to be in the regular info output has gotten removed in v4.3, this among them. Not sure if there was any rhyme or reason to it. I'm definitely in favor of re-adding stuff, at the very least at the debug level.

Quoted 32 lines · Dan Moulding

Any comments? I also think for developers, it's good to be able to see from someone's dmesg output whether or not external firmware was loaded. Unless there is some other way to do that without this log message?

-- Dan

On Sep 17, 2016, at 02:04 AM, Dan Moulding <[email protected]> wrote:

In previous versions, it used to log an info message when loading external GR firmware. But that info message was (inadvertently?) removed in commit 18cd5bc. This just adds it back. It's nice for users to be able to confirm whether external firmware was loaded or not.

---
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 1 +

1 file changed, 1 insertion(+)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +1 -0
index ae9ab5b..0ed56ff 100644
@@ -1805,6 +1805,7 @@ gf100_gr_new_(const struct gf100_gr_func *func, struct
 nvkm_device *device,
     return ret;
 
     if (gr->firmware) {
+          nvkm_info(&gr->base.engine.subdev, "using external firmware\n");
               if (gf100_gr_ctor_fw(gr, "fecs_inst", &gr->fuc409c) ||
            gf100_gr_ctor_fw(gr, "fecs_data", &gr->fuc409d) ||
            gf100_gr_ctor_fw(gr, "gpccs_inst", &gr->fuc41ac) ||
Quoted 9 lines

--
2.7.3

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau