]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm: Destroy the planes prior to destroying the associated CRTC
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 17 Sep 2012 09:38:03 +0000 (09:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:28 +0000 (05:50 +0900)
commit1d43ed629768ed28d3ae3131b5c64b2c5b6fc565
tree4ff0020d132ee574a9b75e24f62fe610637560bc
parent87b22644845862f54c657326d1da2484907db3b6
drm: Destroy the planes prior to destroying the associated CRTC

commit 3184009c36da413724f283e3c7ac9cc60c623bc4 upstream.

As during the plane cleanup, we wish to disable the hardware and
so may modify state on the associated CRTC, that CRTC must continue to
exist until we are finished.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54101
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: lu hua <huax.lu@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_crtc.c