drm/nouveau/nvbios/iccsense: add parsing of the SENSE table
authorMartin Peres <martin.peres@free.fr>
Thu, 18 Feb 2016 13:35:12 +0000 (14:35 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:25 +0000 (10:13 +1000)
commit39b7e6e547ffca0b42a29df5a213f5bf3a19af0b
tree0101c58f0e1df2b00362542d077b7356d9722d1c
parentdc06e366fe656a8a260478dee4dd0b1bc38431a4
drm/nouveau/nvbios/iccsense: add parsing of the SENSE table

Karol Herbst:
v4: don't kmalloc(0)
v5: stricter validation

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/iccsense.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/bios/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c [new file with mode: 0644]