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>
This commit is contained in:
Martin Peres 2016-02-18 14:35:12 +01:00 • committed by Ben Skeggs
commit 39b7e6e547
3 changed files with 117 additions and 0 deletions