diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-07-15 12:35:19 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-08-25 17:05:39 +0300 |
commit | 6501e6bb1458c2e61b0158625518c19bef9c7dce (patch) | |
tree | 39020fe23135b19277334ba73e569adb35873b43 /drivers/gpu/drm/i915/intel_pch.c | |
parent | 35a17f93e03a1f69f7a869c90f6f5c3ba75228e3 (diff) |
drm/i915: Clean up gen2 DPLL readout
The current gen2 DPLL readout code:
* assumes i845/i865 have LVDS which is not true
* assumes only pipe B can drive LVDS (true, but makes
the code appear a bit magical)
* hard to parse in general
Clean it up by checking for i85x (the only gen2 platform
with LVDS) and reusing intel_lvds_port_enabled().
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210715093530.31711-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pch.c')
0 files changed, 0 insertions, 0 deletions