[PATCH 18/19] drm: keep track of which node holds which resource

2012-04-12 Thread Ilija Hadzic
Add fields to drm_crtc, drm_encoder, drm_connector, and drm_plane that keep track of which render node owns it. Assign ownership when resource is added and revoke it when resource is destroyed. Do not allow creation of a node that tries to claim resources that are already in use by another node.

[PATCH 18/19] drm: keep track of which node holds which resource

2012-04-12 Thread Ilija Hadzic
Add fields to drm_crtc, drm_encoder, drm_connector, and drm_plane that keep track of which render node owns it. Assign ownership when resource is added and revoke it when resource is destroyed. Do not allow creation of a node that tries to claim resources that are already in use by another node.