diff options
author | Jani Nikula <[email protected]> | 2018-06-08 15:33:28 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2018-06-11 10:21:12 +0300 |
commit | 85b17e6e4d3f288cc757ff5407b2ca6604673d74 (patch) | |
tree | 38d0d0144f73e941e2931176fb626b95b923070b /tools/perf/scripts/python/compaction-times.py | |
parent | b8bf31d82d22ee06e7bb4802c2ce93ccb4b8ee5b (diff) |
drm/i915: clean up virtual PCH special case handling
Use intel_pch_type() also for mapping the no PCH case (PCH id 0) to
PCH_NONE to simplify code.
Also make sure that intel_pch_type() knows all the PCH ids returned by
intel_virt_detect_pch(). Loudly fail if this isn't the case; this
shouldn't happen anyway.
Cc: Colin Xu <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Tested-by: Colin Xu <[email protected]>
Reviewed-by: Colin Xu <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions