summaryrefslogtreecommitdiff
path: root/linux-core/xgi_misc.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-07-13 14:34:57 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-07-16 16:41:38 +0100
commitea1786416c58cb0896b640bad5a9e41e1baa4011 (patch)
tree7e187a3ce45d7b66db3f365b09607a02cf332797 /linux-core/xgi_misc.c
parentdfed5e18f35e1a3b5d5b31ee11ada55a0d80abe1 (diff)
freedreno: zero is a valid fd number, treat it as such
Abeit quite unlikely to get hit by this bug here, let just fix it. v2: Correct conditional (do not call ioctl(DRM_IOCTL_PRIME_HANDLE_TO_FD) when we already have the fd). v3: Fix kgsl_pipe.c, suggested by Thierry. Cc: freedreno@lists.freedesktop.org Cc: Rob Clark <robdclark@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'linux-core/xgi_misc.c')
0 files changed, 0 insertions, 0 deletions