summaryrefslogtreecommitdiff
path: root/lib/ucs2_string.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2018-06-08 15:33:28 +0300
committerJani Nikula <jani.nikula@intel.com>2018-06-11 10:21:12 +0300
commit85b17e6e4d3f288cc757ff5407b2ca6604673d74 (patch)
tree38d0d0144f73e941e2931176fb626b95b923070b /lib/ucs2_string.c
parentb8bf31d82d22ee06e7bb4802c2ce93ccb4b8ee5b (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 <Colin.Xu@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Tested-by: Colin Xu <Colin.Xu@intel.com> Reviewed-by: Colin Xu <Colin.Xu@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180608123330.31003-4-jani.nikula@intel.com
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions