aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/intel/pinctrl-cherryview.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-12-19 12:07:00 +0000
committerDave Airlie <airlied@redhat.com>2017-12-22 14:14:39 +1000
commite7cdf5c82f1773c3386b93bbcf13b9bfff29fa31 (patch)
tree60070ead1a45a5eae0a51c4fc751a906c8477684 /drivers/pinctrl/intel/pinctrl-cherryview.c
parentMerge tag 'drm-misc-fixes-2017-12-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (diff)
downloadlinux-dev-e7cdf5c82f1773c3386b93bbcf13b9bfff29fa31.tar.xz
linux-dev-e7cdf5c82f1773c3386b93bbcf13b9bfff29fa31.zip
drm/syncobj: Stop reusing the same struct file for all syncobj -> fd
The vk cts test: dEQP-VK.api.external.semaphore.opaque_fd.export_multiple_times_temporary triggers a lot of VFS: Close: file count is 0 Dave pointed out that clearing the syncobj->file from drm_syncobj_file_release() was sufficient to silence the test, but that opens a can of worm since we assumed that the syncobj->file was never unset. Stop trying to reuse the same struct file for every fd pointing to the drm_syncobj, and allocate one file for each fd instead. v2: Fixup return handling of drm_syncobj_fd_to_handle v2.1: [airlied: fix possible syncobj ref race] Reported-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-cherryview.c')
0 files changed, 0 insertions, 0 deletions