From: Chris Wilson Date: Mon, 4 Aug 2014 06:15:09 +0000 (+0100) Subject: drm/i915: only hook up hpd pulse for DP outputs X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f68d697eaf3278200a7fc3c8b1d95d72837b84d8;p=pandora-kernel.git drm/i915: only hook up hpd pulse for DP outputs On HSW+, the digital encoders are shared between HDMI and DP outputs, with one encoder masquerading as both. The VBT should tell us if we need to have DP or HDMI support on a particular port, but if we don't have DP support and we enable the DP hpd pulse handler then we cause an oops. Don't hook up the DP hpd handling if we don't have a DP port. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81856 Reported-by: Intel QA Team. Signed-off-by: Dave Airlie # v1 [ickle: Fix the error handling after a malloc failure] Reviewed-by: Dave Airlie Cc: Paulo Zanoni Signed-off-by: Chris Wilson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed