linux_dsm_epyc7002/drivers/gpu/drm/i915
Ville Syrjälä f01b796283 drm/i915: Use intel_PLL_is_valid() in vlv_find_best_dpll()
Everyone else uses intel_PLL_is_valid(), so make VLV use it as well.

We don't have any special p and m limits on VLV, so skip those tests,
and we also need to skip the m1<=m2 test line PNV.

Reorganize the function a bit to move the n check alongside the rest of
the test for the non-derived dividers, and check the derived values
afterwards.

Note that this changes vlv_find_best_dpll() in two ways:
- The .vco comparison is now >max instead of >=max, and since we round
  down when calculating that stuff, we may now allow frequencies slightly
  above the max as we do on other platforms. The previous method
  disallowed exactly max and anything above it.
- We now check the .dot frequency against the data rate limits, which we
  didn't do before.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-10 12:46:56 +02:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
dvo.h
i915_debugfs.c drm/i915: Remove yet another unused define 2013-10-10 12:46:48 +02:00
i915_dma.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
i915_drv.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
i915_drv.h Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
i915_gem_context.c
i915_gem_debug.c
i915_gem_dmabuf.c
i915_gem_evict.c
i915_gem_execbuffer.c
i915_gem_gtt.c
i915_gem_stolen.c
i915_gem_tiling.c
i915_gem.c drm/i915: Fix type mismatch and accounting in i915_gem_shrink 2013-10-10 12:46:48 +02:00
i915_gpu_error.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
i915_ioc32.c
i915_irq.c
i915_reg.h drm/i915/vlv: Turn off power gate for BIOS-less system. 2013-10-04 10:26:11 +02:00
i915_suspend.c
i915_sysfs.c
i915_trace_points.c
i915_trace.h
i915_ums.c
intel_acpi.c
intel_bios.c
intel_bios.h
intel_crt.c
intel_ddi.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
intel_display.c drm/i915: Use intel_PLL_is_valid() in vlv_find_best_dpll() 2013-10-10 12:46:56 +02:00
intel_dp.c drm/i915/dp: use sizeof for memset instead of magic value 2013-10-10 12:46:49 +02:00
intel_drv.h Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
intel_dsi_cmd.c
intel_dsi_cmd.h
intel_dsi_pll.c
intel_dsi.c
intel_dsi.h
intel_dvo.c
intel_fb.c
intel_hdmi.c
intel_i2c.c
intel_lvds.c
intel_modes.c
intel_opregion.c
intel_overlay.c
intel_panel.c
intel_pm.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
intel_ringbuffer.c
intel_ringbuffer.h
intel_sdvo_regs.h
intel_sdvo.c
intel_sideband.c
intel_sprite.c
intel_tv.c Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next 2013-10-10 12:44:43 +02:00
intel_uncore.c drm/i915/vlv: Turn off power gate for BIOS-less system. 2013-10-04 10:26:11 +02:00
Makefile