Re: [Intel-gfx] [PATCH] drm/i915: add error path

2015-07-22 Thread Sudip Mukherjee
On Wed, Jul 22, 2015 at 12:39:37PM +0100, Chris Wilson wrote: > On Wed, Jul 22, 2015 at 04:58:47PM +0530, Sudip Mukherjee wrote: > > If any of the debug file creation fails we were just returning the > > error code to the drm layer. But the debug files that we created in the > > process were not re

Re: [Intel-gfx] [PATCH] drm/i915: add error path

2015-07-22 Thread Chris Wilson
On Wed, Jul 22, 2015 at 04:58:47PM +0530, Sudip Mukherjee wrote: > If any of the debug file creation fails we were just returning the > error code to the drm layer. But the debug files that we created in the > process were not removed. And debugfs files are not automatically > cleaned up. Just han

[PATCH] drm/i915: add error path

2015-07-22 Thread Sudip Mukherjee
If any of the debug file creation fails we were just returning the error code to the drm layer. But the debug files that we created in the process were not removed. And debugfs files are not automatically cleaned up. Signed-off-by: Sudip Mukherjee --- Hi Daniel, Whom should i keep Cc: for this p