summaryrefslogtreecommitdiff
path: root/tools/intel_bios.h
AgeCommit message (Collapse)Author
2017-10-20tools/intel_vbt_decode: unify legacy child device block dumpingJani Nikula
It's the same stuff as in the new child devices. Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-10-20tools/intel_vbt_decode: update dvo port name dumpingJani Nikula
Add names for new ports, throw out unused macros. Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate backlight dumping to kernel structJani Nikula
Drop obsolete field dumping. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate child device type bits decoding to kernel defsJani Nikula
This lets us use the verbatim copy of the kernel intel_vbt_defs.h file after kernel commit 058727ee8d9a ("drm/i915/bios: amend edp block based on intel_vbt_decode"). Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate edp dumping to kernel structJani Nikula
No functional changes. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate psr dumping to kernel structJani Nikula
No functional changes. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate child device dumping to kernel structJani Nikula
Retain the legacy definition for the obsolete child device block, at least for now. No functional changes. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: migrate timing dumping to kernel structJani Nikula
Adapt the dumping according to the changes, and do what the kernel does. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: start migrating to kernel intel_vbt_defs.hJani Nikula
Copy over most of intel_vbt_defs.h, and use everything that matches with minor changes from there. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: clean up struct lvds_dvo_timingJani Nikula
For reasons unknown, we have two copies of the struct. Deduplicate. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-29tools/intel_vbt_decode: remove unused definitions from intel_bios.hJani Nikula
This is prep work for refactoring VBT definitions. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-08-16tools/intel_vbt_decode: Fix decoding of child device structureVille Syrjälä
Fix decoding of the start of the child device structure. I had accidentally duplicated the "device class/type" member and forgot to include the add-in offset later. Fortunately both were two byte fields so they effectively cancelled each other out and thus the remainder of the child device structure was being decoded correctly. But of course anything sitting between these two fields was being decoded incorrectly. Fixes: 86a546f6f798 ("tools/intel_bios_reader: Dump out more information from the child device structure") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
2016-12-19tools/intel_bios_reader: Dump the DSI video transfer mode and pixel overlapVille Syrjälä
Knowing how were trasmitting the data is pretty important, so let's dump out the video transfer mode and pixel overlap for DSI. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-09-26tools/intel_bios_reader: Dump PSR block from VBTVille Syrjälä
Decode the PSR block (9) from VBT. Looks like the same block ID may have been used for something else in the past, so a version check is also needed. The wakeup times part is still up in the air due to the spec not knowing what it's saying, but let's do something that makes at least some sense given the VBTs currently out there in the wild. v2: Actually dump out tp2/3 wakeup time Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14tools/intel_bios_reader: Dump out more of the eDP blockVille Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14tools/intel_bios_reader: Dump out more information from the child device ↵Ville Syrjälä
structure Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14tools/intel_bios_reader: Dump more bits for general bit definitions block (1)Ville Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2015-12-22intel_bios_reader: rewrite the mipi sequence block dumpingJani Nikula
Simplify things a lot, make it correct, don't pass random pointers to free() on errors, etc. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2015-09-11tools/intel_bios_reader: Add MIPI device typeVille Syrjälä
Decode the MIPI [sic] device type. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2015-09-11tools/intel_bios_reader: Decode the device type bitsVille Syrjälä
Each bit in the device type is supposed to mean something. Decode their meaning. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2015-09-11tools/intel_bios_reader: Print the child dev handleVille Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2015-09-11intel_bios_reader: Read the child device size from VBTVille Syrjälä
New stuff has been added to the end of the child device block at various times, so using a hardcoded size for the block is a bad idea. Fortunately the size of the block is listed in the VBT just before the blocks themselves, so grab it from there. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.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-05-06intel_bios_reader: make edp block decode match kernelJani Nikula
All the somewhat recent VBT specs and the kernel have different format for the eDP block than what the tool decodes. What the tool does *may* be correct for really old VBT, but I have no specs or other reference to suppor this. Just do what the kernel does, that's what we're interested in anyway. Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
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-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>