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>
Thu, 28 Sep 2006 13:41:36 +0000 (15:41 +0200)
commitdf7551ef7334d728ec0371423661bb403d3e270a
treeb89bc113d20c4bb5843d36d20d62761cb19860ef
parentd04751facea36cb888c7510b126658fdbc4277d5
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.
linux-core/drm_drv.c
shared-core/drm_drawable.c