diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-10 23:14:00 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-12 10:59:11 +0200 |
commit | fa55583797d12b10928a1813f3dcf066637caf5e (patch) | |
tree | 6b3a9ccece5f49e7b091fb60b3e3c09a12f8f6f1 /drivers/gpu/drm/i915/dvo_ch7xxx.c | |
parent | drm/i915: rip out the pipe A quirk for i855gm (diff) | |
download | linux-fa55583797d12b10928a1813f3dcf066637caf5e.tar.xz linux-fa55583797d12b10928a1813f3dcf066637caf5e.zip |
drm/i915: fixup the plane->pipe fixup code
We need to check whether the _other plane is on our pipe, not whether
our plane is on the other pipe. Otherwise if not both pipes/planes are
active, we won't properly clean up the mess and set up our desired
plane->pipe mapping.
v2: Fixup the logic, I've totally fumbled it. Noticed by Chris Wilson.
v3: I've checked Bspec, and the flexible plane->pipe mapping is a
gen2/3 feature, so test for that instead of PCH_SPLIT
v4: Check whether we indeed have 2 pipes before checking the other
pipe, to avoid upsetting i845g/i865g. Noticed by Chris Wilson.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51265
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49838
Tested-by: Dave Airlie <airlied@gmail.com>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk> #855gm
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/dvo_ch7xxx.c')
0 files changed, 0 insertions, 0 deletions