]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't store temporary load-detect variables in the generic encoder
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Apr 2011 22:18:09 +0000 (23:18 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:19:15 +0000 (13:19 -0700)
commit249481df1b9858d4ae48c3df9f57361be78b2046
tree8ae61604d984a43f73950c443992b1a636790e61
parent9d777c0f8e464f09b455c49bb818efcb99ec9d85
drm/i915: Don't store temporary load-detect variables in the generic encoder

Keep all the state required for undoing and restoring the previous pipe
configuration together in a single struct passed from
intel_get_load_detect_pipe() to intel_release_load_detect_pipe() rather
than stuffing them inside the common encoder structure.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_tv.c