Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4592533d authored by David Herrmann's avatar David Herrmann Committed by Gerrit - the friendly Code Review server
Browse files

drm: provide management functions for drm_file



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 of any such plans), and more importantly from in-kernel use where
no real file is available.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180618141739.48151-2-noralf@tronnes.org


Patch-mainline: 20180618141739.48151-2-noralf@tronnes.org @ 18/07/18, 02:17 p.m.
[stalek@codeaurora.org:
1. Delete extra change due to missing conflicts.
2. Change in file name due to conflict.
3. Drop change relate to syncobj and ret declaration because of compilation].

Change-Id: I358aaeae4291159bde77f966a17e06f982a05404
Signed-off-by: default avatarShubham Talekar <stalek@codeaurora.org>
parent 396947fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment