[PATCH 25/25] drm: move dev data clearing from drm_setup to lastclose

2013-08-13 Thread David Herrmann
Hi On Thu, Aug 8, 2013 at 3:41 PM, Daniel Vetter wrote: > 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 restarte

Re: [PATCH 25/25] drm: move dev data clearing from drm_setup to lastclose

2013-08-13 Thread David Herrmann
Hi On Thu, Aug 8, 2013 at 3:41 PM, Daniel Vetter wrote: > 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 restarte

[PATCH 25/25] drm: move dev data clearing from drm_setup to lastclose

2013-08-08 Thread Daniel Vetter
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

[PATCH 25/25] drm: move dev data clearing from drm_setup to lastclose

2013-08-08 Thread Daniel Vetter
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