4 Commits

Author SHA1 Message Date
Ben Widawsky
54ed938d39 clang: Fix warnings found through clang.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-08-30 14:19:10 -07:00
Daniel Vetter
74b70baf14 tools/intel_bios_dumper: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-09 23:38:28 +01:00
Forest Bond
d641f0fd42 intel_bios_dumper: handle rom_size == 0
Some versions of libpciaccess on Linux set rom_size to 0 for VGA
devices.  While this behavior may change, intel_bios_dumper should
handle this situation to be compatible with current versions of the
library.

This fixes segmentation faults on affected systems.

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-22 14:44:25 +00:00
Eric Anholt
0583c22cdf Add intel_bios_dumper from the 2D driver. Last of the tools, finally! 2010-02-20 13:00:12 -05:00