Re: [PATCH 08/39] drm: remove redundant clears from drm_setup

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 2:11 PM, Daniel Vetter daniel.vet...@ffwll.ch wrote: We kzalloc the driver node at init time, so no need to do this again. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/gpu/drm/drm_fops.c | 9 - 1 file changed, 9 deletions(-) diff

Re: [PATCH 08/39] drm: remove redundant clears from drm_setup

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 3:28 PM, David Herrmann dh.herrm...@gmail.com wrote: drm_setup() is called on every first open. I digged through core DRM and noticed that we have a lot of code that cleans up on lastclose and reinitializes on firstopen which is skipped for non-UMS drivers to preserve