]> git.hungrycats.org Git - linux/commit
drm/i915: check eDP encoder correctly when setting modes
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 4 Jan 2011 18:46:49 +0000 (10:46 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:15:17 +0000 (15:15 -0800)
commita3679352b5b199740081a48858f81365a7a4c5e4
tree2adf023fa8c4b95c08ed86c58fed762605ba21b6
parent110b9f69760df6d5ddf734647aaae61d18ca0462
drm/i915: check eDP encoder correctly when setting modes

commit 858bc21f0637c407601a05626854ae58b242f75d upstream.

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 <jbarnes@virtuousgeek.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31988
Tested-by: Jan-Hendrik Zab <jan@jhz.name>
Tested-by: Christoph Lukas <christoph.lukas@gmx.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c