projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc7f4a
)
drm/nouveau/mxm: add some extra debug output
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 19 Oct 2016 02:14:24 +0000
(12:14 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:13 +0000
(14:04 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
index
21b65ee
..
e3e2f5e
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
@@
-250,6
+250,10
@@
nvkm_mxm_new_(struct nvkm_device *device, int index, struct nvkm_mxm **pmxm)
}
nvkm_info(&mxm->subdev, "BIOS version %d.%d\n", ver >> 4, ver & 0x0f);
+ nvkm_debug(&mxm->subdev, "module flags: %02x\n",
+ nvbios_rd08(bios, data + 0x01));
+ nvkm_debug(&mxm->subdev, "config flags: %02x\n",
+ nvbios_rd08(bios, data + 0x02));
if (mxm_shadow(mxm, ver)) {
nvkm_warn(&mxm->subdev, "failed to locate valid SIS\n");