From: Daniel Vetter Date: Thu, 8 Aug 2013 13:41:35 +0000 (+0200) Subject: drm: move dev data clearing from drm_setup to lastclose X-Git-Tag: v3.12-rc1~136^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f336ab76008f66f6153573d1479aeed388d7b08a;p=pandora-kernel.git drm: move dev data clearing from drm_setup to lastclose We kzalloc this structure, and for real kms devices we should never loose track of things really. But ums/legacy drivers rely on the drm core to clean up a bit of cruft between lastclose and firstopen (i.e. when X is being restarted), so keep this around. But give it a clear drm_legacy_ prefix and conditionalize the code on !DRIVER_MODESET. Cc: David Herrmann Signed-off-by: Daniel Vetter Reviewed-by: David Herrmann Signed-off-by: Dave Airlie --- Reading git-diff-tree failed