commit | 40ace64b1ece1b8a29f86e6e2bc6fb91f7f0e537 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Mon Feb 05 19:31:38 2018 +0200 |
committer | Jani Nikula <jani.nikula@intel.com> | Tue Feb 13 17:03:12 2018 +0200 |
tree | adddf2b449661449472af2d489c3c68a829b1742 | |
parent | 435ad2c009429157cb65ce8a6221038235cc0501 [diff] |
drm/i915: have virtual PCH detection return a PCH id Simplify intel_virt_detect_pch() by making it return a PCH id rather than returning the PCH type and setting PCH id for some PCHs. Map the PCH id to PCH type using the shared routine. This gives us sanity check on the supported combinations also in the virtualized setting. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/197cf635261a1c628371ffaaee90e8647493af4d.1517851783.git.jani.nikula@intel.com