mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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>
This commit is contained in:
parent
8ca99316fd
commit
f6bf17391f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue