[PATCH 21/37] drm: reference framebuffers which are on the idr

2012-12-12 Thread Daniel Vetter
Since otherwise looking and reference-counting around drm_framebuffer_lookup will be an unmanageable mess. With this change, an object can either be found in the idr and will stay around once we incremented the reference counter. Or it will be gone for good and can't be looked up using its id any m

[PATCH 21/37] drm: reference framebuffers which are on the idr

2012-12-12 Thread Daniel Vetter
Since otherwise looking and reference-counting around drm_framebuffer_lookup will be an unmanageable mess. With this change, an object can either be found in the idr and will stay around once we incremented the reference counter. Or it will be gone for good and can't be looked up using its id any m