aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-06-14 22:35:21 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-06-21 11:48:09 +0200
commitee8375d5dc5bbb50b03bedfb0020d3e1c27ceacb (patch)
tree719630d7c2c87852e68bf18434a0c6b1e92a9a06 /include/drm
parentdrm/prime: Unconditionally set up the prime file private (diff)
downloadlinux-dev-ee8375d5dc5bbb50b03bedfb0020d3e1c27ceacb.tar.xz
linux-dev-ee8375d5dc5bbb50b03bedfb0020d3e1c27ceacb.zip
drm/prime: Make DRIVER_PRIME a no-op
Drivers must fill out the handle_to_fd and fd_to_handle hooks to enable export/import prime functionality already. The additional DRIVER_PRIME flag doesn't serve any real purpose, since the overall flag doesn't even tell you whether import or export or maybe even both is supported. Ditch it. This patch just makes it defunct, subsequent patches will remove it from all the drivers. Note this changes the userspace visible errno in some situations from EOPNOTSUPP to ENOSYS. Userspace already needs to treat both as "no prime support", so this should break anything. v2: Improve commit message as suggested by Emil Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-6-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions