]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix intel_crtc_clock_get pipe reads after "cleanup cleanup"
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Apr 2011 21:17:21 +0000 (22:17 +0100)
committerKeith Packard <keithp@keithp.com>
Mon, 9 May 2011 16:13:21 +0000 (09:13 -0700)
commitb59efbdba3f5598a3564044d694a4f80d6931eab
treef1f2818ca04a59ccce7d8c2d33717eb67e3002f4
parentead7df59f53459075e67e14590382d51a9eb1aa9
drm/i915: fix intel_crtc_clock_get pipe reads after "cleanup cleanup"

Despite the fixes in 8fd39b56ab768 (drm/i915: fix per-pipe reads after
"cleanup"), we missed one neighbouring read that was mistakenly replaced
with the reg value in ddc7796 (drm/i915: cleanup per-pipe reg usage).
This was preventing us from correctly determining the mode the BIOS left
the panel in for machines that neither have an OpRegion nor access to
the VBT, (e.g. the EeePC 700).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: stable@kernel.org
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c