diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-04-30 08:01:43 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-10 15:56:44 -0400 |
commit | fec32900cc8f4ec8ad6b3007d2035e598f128f24 (patch) | |
tree | f8cb35b132d4469ec878cb32d9e200d5d732ae9e | |
parent | b4c09f3bbda97ec685afd604d8a3a08c72465910 (diff) |
drm/i915: rip out TV-out lore ...
This seems to be an impressive piece of copy&pasta lore. I've
checked all docs and on most platforms these bits are all MBZ, with
the exception of the SDVO pixel multiplier on gen3. On gen4 that
moved to a special DPLL_MD registers.
No indication whatsoever that we actually need this for native
TV-out support. I suspect this started as a hack when we didn't
yet have proper pixel multiplier support in place for SDVO TV, but
then got stuck in a life of its own.
Just rip it out.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 5fcd5b09ff56..97a29c4c27f7 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -4589,10 +4589,6 @@ static void i9xx_update_pll(struct intel_crtc *crtc, | |||
4589 | 4589 | ||
4590 | if (is_sdvo && intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_TVOUT)) | 4590 | if (is_sdvo && intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_TVOUT)) |
4591 | dpll |= PLL_REF_INPUT_TVCLKINBC; | 4591 | dpll |= PLL_REF_INPUT_TVCLKINBC; |
4592 | else if (intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_TVOUT)) | ||
4593 | /* XXX: just matching BIOS for now */ | ||
4594 | /* dpll |= PLL_REF_INPUT_TVCLKINBC; */ | ||
4595 | dpll |= 3; | ||
4596 | else if (intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_LVDS) && | 4592 | else if (intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_LVDS) && |
4597 | intel_panel_use_ssc(dev_priv) && num_connectors < 2) | 4593 | intel_panel_use_ssc(dev_priv) && num_connectors < 2) |
4598 | dpll |= PLLB_REF_INPUT_SPREADSPECTRUMIN; | 4594 | dpll |= PLLB_REF_INPUT_SPREADSPECTRUMIN; |