@@ -1480,6 +1480,10 @@ static void intel_device_info_runtime_init(struct drm_device *dev)
DRM_DEBUG_DRIVER("Display fused off, disabling\n");
info->num_planes = 0;
}
+ if (fuse_strap & IVB_PIPE_C_DISABLE) {
+ DRM_DEBUG_DRIVER("Pipe C fused off, disabling\n");
+ info->num_planes = 2;
+ }
}
}
@@ -4118,6 +4118,7 @@
#define ILK_INTERNAL_GRAPHICS_DISABLE (1 << 31)
#define ILK_INTERNAL_DISPLAY_DISABLE (1 << 30)
#define ILK_DISPLAY_DEBUG_DISABLE (1 << 29)
+#define IVB_PIPE_C_DISABLE (1 << 28)
#define ILK_HDCP_DISABLE (1 << 25)
#define ILK_eDP_A_DISABLE (1 << 24)
#define HSW_CDCLK_LIMIT (1 << 24)
Starting from IVB, pipe C can be fused off. We have yet to see such configuration in the wild though (ie not tested). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- drivers/gpu/drm/i915/i915_dma.c | 4 ++++ drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 5 insertions(+)