drm/i915: kill intel_dp_link_clock()

Use drm_dp_bw_code_to_link_rate insead. It's the same thing, but
supports DP_LINK_BW_5_4 and is also used by the other drivers.

From Paulo Zanoni
9fa5f6522e6eecb5ab20192a264a29ba4f2f4e85 in mainline linux

One of two backported commits to prevent a black screen
on a Lenovo IdeaPad Yoga 2 Pro as reported/debugged by Steven Wilson.
drm/i915: fix lane bandwidth capping for DP 1.2 sinks

DP 1.2 compatible displays may report a 5.4Gbps maximum bandwidth which
the driver will treat as an invalid value and use 1.62Gbps instead. Fix
this by capping to 2.7Gbps for sinks reporting a 5.4Gbps max bw.

Also add a warning for reserved values.

From Imre Deak
d4eead50eb206b875f54f66cc0f6ec7d54122c28 in mainline linux

One of two backported commits to prevent a black screen
on a Lenovo IdeaPad Yoga 2 Pro as reported/debugged by Steven Wilson.
Some terminals send spurious releases for mouse wheel in SGR mouse mode,
this causes confusion when tmux uses SGR outside but the application
inside tmux is using conventional xterm mouse reporting. So suppress
obviously bad input. From Timothy Allen, SF bug 128.
Reset the buttons when the wheel is used, from Balazs Kezes.
Copy newline when at EOL in vi(1) mode, from Balazs Kezes.