OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f327f
)
drm/nouveau/core: drop error message when no compatible FW found
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 16 Jun 2020 01:14:41 +0000
(11:14 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 24 Jul 2020 08:50:47 +0000
(18:50 +1000)
This is less than useful with some subdevs having _nofw variants in their
FWIF lists - it's cleaner to handle them all in the same way.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
b/drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
index
d14b7fb
..
85bcb80
100644
(file)
--- a/
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
+++ b/
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
@@
-45,11
+45,8
@@
int nvkm_firmware_load_name(const struct nvkm_subdev *subdev, const char *path,
} \
} \
\
- if (_ret) { \
- nvkm_error(_s, "failed to load firmware\n"); \
+ if (_ret) \
_fwif = ERR_PTR(_ret); \
- } \
- \
_fwif; \
})
#endif