mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-17 11:25:04 +08:00
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>
This commit is contained in:
parent
88afe715dd
commit
681e5811f8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user