diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2012-12-06 11:12:38 -0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-17 14:40:21 +0100 |
commit | 681e5811f88b7ecca77734421adafb62f19563be (patch) | |
tree | 2ff8b260c5c227a5c3fd8f484fc67a9003c24779 | |
parent | 88afe715dd5469bc24ca7a19ac62dd3c241cab48 (diff) | |
download | blackbird-op-linux-681e5811f88b7ecca77734421adafb62f19563be.tar.gz blackbird-op-linux-681e5811f88b7ecca77734421adafb62f19563be.zip |
drm/i915: check for the PCH when setting pch_transcoder
Don't check the CPU, it doesn't have any PCH transcoder.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7f1b07c9061d..fa73b4ad88bb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -1789,7 +1789,7 @@ static void intel_enable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe, int reg; u32 val; - if (IS_HASWELL(dev_priv->dev)) + if (HAS_PCH_LPT(dev_priv->dev)) pch_transcoder = TRANSCODER_A; else pch_transcoder = pipe; |