]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add an interface to reset the device
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 15:11:08 +0000 (15:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jan 2011 19:23:28 +0000 (19:23 +0000)
commit2e1daf935296778131973fce81e51183b802cc97
tree2665733d7a13db780caf16a7920b7fe871079cdd
parent7830acbb7d9f97b0239eabc770163c0b9f51d31b
drm: Add an interface to reset the device

Iterate over the attached CRTCs, encoders and connectors and call the
supplied reset vfunc in order to reset any cached state back to unknown.
Useful after an invalidation event such as a GPU reset or resuming.

Tested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h