projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca9931
)
drm/nouveau/mxm: handle DCB 4.1 modification
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 5 Dec 2016 23:03:04 +0000
(09:03 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 5 Dec 2016 23:08:23 +0000
(09:08 +1000)
Allows MXM DCB modification to be handled on GM20x and newer boards.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
index
db14fad
..
d4ecc43
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
@@
-190,7
+190,7
@@
mxm_dcb_sanitise(struct nvkm_mxm *mxm)
struct nvkm_bios *bios = subdev->device->bios;
u8 ver, hdr, cnt, len;
u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len);
- if (dcb == 0x0000 ||
ver != 0x40
) {
+ if (dcb == 0x0000 ||
(ver != 0x40 && ver != 0x41)
) {
nvkm_debug(subdev, "unsupported DCB version\n");
return;
}