[PATCH] drm/prime: warn for non-empty handle lookup list during drm file release

2013-04-24 Thread Daniel Vetter
On Wed, Apr 24, 2013 at 07:04:57PM +0300, Imre Deak wrote: > drm_gem_release should release all handles connected to the drm file and > so should also release the prime lookup entries of these handles. So > just WARN if this isn't the case. > > Signed-off-by: Imre Deak Reviewed-by: Daniel Vetter

[PATCH] drm/prime: warn for non-empty handle lookup list during drm file release

2013-04-24 Thread Imre Deak
drm_gem_release should release all handles connected to the drm file and so should also release the prime lookup entries of these handles. So just WARN if this isn't the case. Signed-off-by: Imre Deak --- drivers/gpu/drm/drm_prime.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-

Re: [PATCH] drm/prime: warn for non-empty handle lookup list during drm file release

2013-04-24 Thread Daniel Vetter
On Wed, Apr 24, 2013 at 07:04:57PM +0300, Imre Deak wrote: > drm_gem_release should release all handles connected to the drm file and > so should also release the prime lookup entries of these handles. So > just WARN if this isn't the case. > > Signed-off-by: Imre Deak Reviewed-by: Daniel Vetter

[PATCH] drm/prime: warn for non-empty handle lookup list during drm file release

2013-04-24 Thread Imre Deak
drm_gem_release should release all handles connected to the drm file and so should also release the prime lookup entries of these handles. So just WARN if this isn't the case. Signed-off-by: Imre Deak --- drivers/gpu/drm/drm_prime.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-