summaryrefslogtreecommitdiff
path: root/tools/intel_bios_reader.c
AgeCommit message (Collapse)Author
2015-04-08tools/intel_bios_read: fix SSC freq for BXTImre Deak
On BXT the SSC reference frequency is fixed 100MHz. Signed-off-by: Imre Deak <imre.deak@intel.com>
2015-04-08tools/intel_bios_reader: fix SSC freq for VLV/CHVImre Deak
VLV/CHV has a fixed 100MHz SSC reference frequency. Signed-off-by: Imre Deak <imre.deak@intel.com>
2014-08-01intel_bios_reader: Add support to dump MIPI Sequence block #53Gaurav K Singh
Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-08-01intel_bios_reader: Add support to dump MIPI Configuration Block #52Gaurav K Singh
Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-03-22lib: rename intel_gpu_tools.h to intel_io.hDaniel Vetter
With the header cleanup we can now give this header a suitable name, since it now really only contains register access and other I/O functions and assorted definitions. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-22lib: remove uncessary #includes from headersDaniel Vetter
Only include what the header itself needs. The big fish here is intel-gpu-tools.h. More will follow. One ugly thing removed here is the duplicated GEN6_TD_CTL #define, one of which was broken. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-21intel_bios_reader: dump all sections, including unknown onesJani Nikula
We still need to dump some of the known sections explicitly due to dependencies on information extracted, such as LFP data pointers and panel_type. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: dump all edp device info structsJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: prepare for dumping all sectionsJani Nikula
Dump sections through a table based on the section id. Hex dump the section. This works also for unknown sections. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: add size temp variable as a shorthand for finfo.st_sizeJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2012-01-25intel_bios_reader: Sanitize input to ensure all data blocks are within boundsChris Wilson
Running intel_bios_reader upon itself causes the reader to crash and burn. It obviously finds a VBT signature inside the binary, but then does not rigorously check that all data blocks are valid before dereferencing them. Reported-by: Emanuel Bronshtein Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45205 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-01-09tools/intel_bios_reader: fixup new warningsDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-11bios_reader: Allow forcing the device ID with DEVICE=0xNNNNAdam Jackson
As a pleasant side effect you can now feed it an opregion dump and it'll decode without crashing. Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-02-10tools/intel_bios_reader: use correct printf format for size_tChris Wilson
intel_bios_reader.c: In function ‘dump_backlight_info’: intel_bios_reader.c:192:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29bios: Parse SDVO panel DTDsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21tools/bios_reader: try to dump more child device dataJesse Barnes
Some of our device class defines were incorrect, and we were missing several recent ones, so fix those up and dump more child device data if we have it.
2010-09-08bios_reader: Fix to work on non-Intel machinesAdam Jackson
Actually, fix to work on _any_ machine where the ROM file doesn't match the GPU. Just extract the device ID from the ROM itself rather than look at the running system. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-06-03bios_reader: Fix SSC frequency parse for Ironlake/SandybridgeZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-22bios reader: Decode device type from child device tableAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-01-12Pull bios_reader program from Xorg driverZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>