Re: drm vblank memory allocation

2008-07-07 Thread Jesse Barnes
On Sunday, July 06, 2008 12:29 am vehemens wrote: Would anyone object to using a struct for the vblank crtc data to eliminate the multiple allocs / frees? For example: struct drm_vblank { wait_queue_head_t vbl_queue; atomic_t _vblank_count; struct drm_vbl_sig_list

drm vblank memory allocation

2008-07-06 Thread vehemens
Would anyone object to using a struct for the vblank crtc data to eliminate the multiple allocs / frees? For example: struct drm_vblank { wait_queue_head_t vbl_queue; atomic_t _vblank_count; struct drm_vbl_sig_list vbl_sigs; atomic_t vblank_refcount; u32