OSDN Git Service

drm/nouveau/bios: add parsing of BIT M(v2) +0x03 table
authorBen Skeggs <bskeggs@redhat.com>
Tue, 4 Nov 2014 02:06:25 +0000 (12:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:44:05 +0000 (15:44 +1000)
commit4766ec53945f14f134fc51de782b362a51351cb1
tree8fdb9f9b33be4d006e8c18cffcbb5f3d63b7e786
parentddbb55ab04db3edbc2d0910c5060c025a9ae4425
drm/nouveau/bios: add parsing of BIT M(v2) +0x03 table

We only support one kind of matching here (ramcfg strap), but it appears
alternate methods are possible.  I wrote a tool to scan our vbios repo
for other types, but did not see any used.  Hopefully this means there
aren't any in the wild that will now break.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/include/subdev/bios/M0203.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/subdev/bios/M0203.c [new file with mode: 0644]