drm/i915: check eDP encoder correctly when setting modes
authorJesse Barnes <[email protected]>
Tue, 4 Jan 2011 18:46:49 +0000 (10:46 -0800)
committerChris Wilson <[email protected]>
Tue, 11 Jan 2011 20:21:55 +0000 (20:21 +0000)
commit858bc21f0637c407601a05626854ae58b242f75d
treee445031bebe1794958236e77881d29a1e760ea73
parent5b2eef966cb2ae307aa4ef1767f7307774bc96ca
drm/i915: check eDP encoder correctly when setting modes

We were using a stale pointer in the check which caused us to use CPU
attached DP params when we should have been using PCH attached params.

Signed-off-by: Jesse Barnes <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31988
Tested-by: Jan-Hendrik Zab <[email protected]>
Tested-by: Christoph Lukas <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: [email protected]
drivers/gpu/drm/i915/intel_display.c