[PATCH 4/6] drm: provide management functions for drm_file

2016-09-19 Thread Daniel Vetter
On Thu, Sep 01, 2016 at 02:48:35PM +0200, David Herrmann wrote: > Rather than doing drm_file allocation/destruction right in the fops, lets > provide separate helpers. This decouples drm_file management from the > still-mandatory drm-fops. It prepares for use of drm_file without the > fops, both

[PATCH 4/6] drm: provide management functions for drm_file

2016-09-01 Thread David Herrmann
Rather than doing drm_file allocation/destruction right in the fops, lets provide separate helpers. This decouples drm_file management from the still-mandatory drm-fops. It prepares for use of drm_file without the fops, both by possible separate fops implementations and APIs (not that I am aware