drm/prime: Unconditionally set up the prime file private
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jun 2019 20:35:20 +0000 (22:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 21 Jun 2019 09:48:09 +0000 (11:48 +0200)
commitae75f836804267f28048e389f6036a7044872112
tree5170b2296c5ccf9d9f5ea94d55cc4a7e930d0947
parent805dc614d58a8fb069ed079005e591247df85246
drm/prime: Unconditionally set up the prime file private

It's tiny, already embedded, and setup/teardown cost is trivial.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-5-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_file.c
drivers/gpu/drm/drm_gem.c