Change first valid DRM drawable ID to be 1 instead of 0.
authorMichel Dänzer <michel@tungstengraphics.com>
Wed, 30 Aug 2006 17:24:04 +0000 (19:24 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 29 Sep 2006 10:55:08 +0000 (12:55 +0200)
commit00531cecad3cf9a1ec230f7f33535d153b9d9bd0
tree0b8a06357a35f8a7f924482e825675a62161f7ff
parent7d487602a31dd886037417db088b6e643ed86918
Change first valid DRM drawable ID to be 1 instead of 0.

This makes it easier for userspace to know when it needs to allocate an ID.

Also free drawable information memory when it's no longer needed.
(cherry picked from df7551ef7334d728ec0371423661bb403d3e270a commit)
linux-core/drm_drv.c
shared-core/drm_drawable.c