drm/i915: fix wrong order of parameters in port checking functions
authorXu, Anhua <anhua.xu@intel.com>
Mon, 13 Aug 2012 03:08:33 +0000 (03:08 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Aug 2012 09:44:53 +0000 (11:44 +0200)
commitb70ad586162609141f0aa9eb34790f31a8954f89
tree7956d406f048b001f1ac6c7e064c5d5d2806c5c0
parentfea7a08acb13524b47711625eebea40a0ede69a0
drm/i915: fix wrong order of parameters in port checking functions

Wrong order of parameters passed-in when calling hdmi/adpa
/lvds_pipe_enabled(), 2nd and 3rd parameters are reversed.

This bug was indroduced by

commit 1519b9956eb4b4180fa3f47c73341463cdcfaa37
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 6 10:35:34 2011 -0700

    drm/i915: Fix PCH port pipe select in CPT disable paths

The reachable tag for this commit is v3.1-rc1-3-g1519b99

Signed-off-by: Anhua Xu <anhua.xu@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44876
Tested-by: Daniel Schroeder <sec@dschroeder.info>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c