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:08:23 +1000 |
commit | f6bf17391fbb94086a1142a18f6301c24535df30 (patch) | |
tree | 28ea10f16fba09a9bc85f7988bc20d6ba9a4b429 /drivers/gpu/drm/nouveau | |
parent | 8ca99316fd6fcdd87357d3291f38a5dc09a7e106 (diff) |
drm/nouveau/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 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c index db14fad2ddfc..d4ecc43b9275 100644 --- 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; } |