diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-12-06 09:03:04 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-12-06 09:03:18 +1000 |
commit | 3cdf79b27839298e59bedd0ed9cac265efa6e76c (patch) | |
tree | 64d04625ba6012046fc0a0e28fdac2315e02fb02 /drm | |
parent | 427fd35888cfabdda2a115f1e60c2b50d691d369 (diff) | |
download | nouveau-3cdf79b27839298e59bedd0ed9cac265efa6e76c.tar.gz |
mxm: handle DCB 4.1 modification
Allows MXM DCB modification to be handled on GM20x and newer boards.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm')
-rw-r--r-- | drm/nouveau/nvkm/subdev/mxm/nv50.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nvkm/subdev/mxm/nv50.c b/drm/nouveau/nvkm/subdev/mxm/nv50.c index db14fad2d..d4ecc43b9 100644 --- a/drm/nouveau/nvkm/subdev/mxm/nv50.c +++ b/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; } |