]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't clobber the pipe param in sanitize_modesetting
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 13 May 2012 20:29:25 +0000 (22:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 19 May 2012 20:42:54 +0000 (22:42 +0200)
commitf3a15baf4f0b8d7bb164353bc81c0714ed0c9545
tree2ca6e9f7faf5421a6e1307d3e0c7f313de9acd46
parenta3e06b5adeb89c2ca33403da13b5bab500fca1da
drm/i915: don't clobber the pipe param in sanitize_modesetting

... we need it later on in the function to clean up pipe <-> plane
associations. This regression has been introduced in

commit 1676446e33a0277d47fb7b5c67f496ddcc655f36
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Mar 22 15:00:50 2012 +0000

    drm/i915: Sanitize BIOS debugging bits from PIPECONF

Spotted by staring at debug output of an (as it turns out) totally
unrelated bug.

v2: I've totally failed to do the s/pipe/i/ correctly, spotted by
Chris Wilson.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Cc: stable@kernel.org (the regression was Cc: stable, too)
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c