diff options
author | 2017-06-21 20:49:44 +0300 | |
---|---|---|
committer | 2017-06-22 19:08:35 +0300 | |
commit | c5e855d07834d67f30fab07e7d7316b090b8073f (patch) | |
tree | dd3ac6f161dbf74b355f4cbaa1e7bfe5ba19f585 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Clean up some expressions (diff) | |
download | linux-dev-c5e855d07834d67f30fab07e7d7316b090b8073f.tar.xz linux-dev-c5e855d07834d67f30fab07e7d7316b090b8073f.zip |
drm/i915: Always use 9 bits of the LPC bridge device ID for PCH detection
Make the code less confusiong by always using the top 9 bits of the
LPC bridge device ID to detect the PCH type. We need to add a bit of
new code for WPT, and we need to adjust the KBP ID as well. All the
other pre-CNP IDs are fine as is.
The virtualization cases I think are fine. These P2X and P3X IDs
actually just look like the old PIIX4 and PIIX3 IDs to me. Not sure
why they're not called PIIX3/4 though. The qemu one has a comment
saying the full ID is 0x2918 which is fine with 9 bits.
v2: Keep the CNP ID as 0xa300 (DK)
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621174944.23306-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions