]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: drop unnecessary clearing of pch dp transcoder timings
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Nov 2012 14:59:35 +0000 (15:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Dec 2012 13:37:01 +0000 (14:37 +0100)
commit44ddd178ff5a5bc901f158ab58dc772b7ac59e4d
tree4ee03398f8dc094b4a4841bb164a204357e26f3b
parent8b8a5750768cae45e1e4090d193962fbdc9fb9e0
drm/i915: drop unnecessary clearing of pch dp transcoder timings

This has originally been added in

commit 32b9c283dabbacdb5ad8ecd670775608f533dd68
Author: Zhenyu Wang <zhenyuw@linux.intel.com>
Date:   Wed Apr 7 16:15:54 2010 +0800

    drm/i915: Support for Cougarpoint PCH display pipeline

probably to combat issues with hw state left behind by the BIOS. And
indeed, I've checked out that specific revision, and there is no DP
support yet. So the pch dp transcoder won't be correctly disabled, and
that's important since it requires a rether special disable dance:
Just writing 0 to TRANS_DP_CTL won't cut it, since we need to select
the NONE port when disabling, too.

And indeed, things seem to still work, so let's just remove this.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c