]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: VLV2 - Fix hotplug detect bits
authorTodd Previte <tprevite@gmail.com>
Thu, 23 Jan 2014 07:13:41 +0000 (00:13 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Jan 2014 10:51:10 +0000 (11:51 +0100)
commit232a6ee9af8adb185640f67fcaaa9014a9aa0573
treea72e4d004b303f74b0633bd60881f2f2cf985de3
parent431810112123bb26a0be39a99835861de9906abc
drm/i915: VLV2 - Fix hotplug detect bits

Add new definitions for hotplug live status bits for VLV2 since they're
in reverse order from the gen4x ones.

Changelog:
- Restored gen4 bit definitions
- Added new definitions for VLV2
- Added platform check for IS_VALLEYVIEW() in dp_detect to use the correct
  bit defintions
- Replaced a lost trailing brace for the added switch()

Signed-off-by: Todd Previte <tprevite@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73951
[danvet: Switch to _VLV postfix instead of prefix and regroupg
comments again so that the g4x warning is right next to those defines.
Also add a _G4X suffix for those special ones. Also cc stable.]
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c