diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index c6d482fdf89b..448e13c26c87 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -1681,8 +1681,9 @@ | |||
1681 | #define SDVOB_HOTPLUG_INT_STATUS_I915 (1 << 6) | 1681 | #define SDVOB_HOTPLUG_INT_STATUS_I915 (1 << 6) |
1682 | 1682 | ||
1683 | /* SDVO port control */ | 1683 | /* SDVO port control */ |
1684 | #define SDVOB 0x61140 | 1684 | #define GEN3_SDVOB 0x61140 |
1685 | #define SDVOC 0x61160 | 1685 | #define GEN3_SDVOC 0x61160 |
1686 | #define PCH_SDVOB 0xe1140 | ||
1686 | #define SDVO_ENABLE (1 << 31) | 1687 | #define SDVO_ENABLE (1 << 31) |
1687 | #define SDVO_PIPE_B_SELECT (1 << 30) | 1688 | #define SDVO_PIPE_B_SELECT (1 << 30) |
1688 | #define SDVO_STALL_SELECT (1 << 29) | 1689 | #define SDVO_STALL_SELECT (1 << 29) |
@@ -3982,8 +3983,12 @@ | |||
3982 | #define FDI_PLL_CTL_1 0xfe000 | 3983 | #define FDI_PLL_CTL_1 0xfe000 |
3983 | #define FDI_PLL_CTL_2 0xfe004 | 3984 | #define FDI_PLL_CTL_2 0xfe004 |
3984 | 3985 | ||
3985 | /* or SDVOB */ | 3986 | /* The same register may be used for SDVO or HDMI */ |
3986 | #define HDMIB 0xe1140 | 3987 | #define GEN4_HDMIB GEN3_SDVOB |
3988 | #define GEN4_HDMIC GEN3_SDVOC | ||
3989 | #define PCH_HDMIB PCH_SDVOB | ||
3990 | #define PCH_HDMIC 0xe1150 | ||
3991 | #define PCH_HDMID 0xe1160 | ||
3987 | #define PORT_ENABLE (1 << 31) | 3992 | #define PORT_ENABLE (1 << 31) |
3988 | #define TRANSCODER(pipe) ((pipe) << 30) | 3993 | #define TRANSCODER(pipe) ((pipe) << 30) |
3989 | #define TRANSCODER_CPT(pipe) ((pipe) << 29) | 3994 | #define TRANSCODER_CPT(pipe) ((pipe) << 29) |
@@ -4004,12 +4009,6 @@ | |||
4004 | #define HSYNC_ACTIVE_HIGH (1 << 3) | 4009 | #define HSYNC_ACTIVE_HIGH (1 << 3) |
4005 | #define PORT_DETECTED (1 << 2) | 4010 | #define PORT_DETECTED (1 << 2) |
4006 | 4011 | ||
4007 | /* PCH SDVOB multiplex with HDMIB */ | ||
4008 | #define PCH_SDVOB HDMIB | ||
4009 | |||
4010 | #define HDMIC 0xe1150 | ||
4011 | #define HDMID 0xe1160 | ||
4012 | |||
4013 | #define PCH_LVDS 0xe1180 | 4012 | #define PCH_LVDS 0xe1180 |
4014 | #define LVDS_DETECTED (1 << 1) | 4013 | #define LVDS_DETECTED (1 << 1) |
4015 | 4014 | ||