History log of /external/libdrm/freedreno/msm/msm_bo.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76a1e97eae3948827ccc100c593d1e96d7a8ce74 04-Sep-2015 Rob Clark <robdclark@gmail.com> freedreno: drop exported dmabuf fd tracking

There is really no reason to keep around the fd, it just consumes an
extra file handle.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/freedreno/msm/msm_bo.c
6a6d668fad9833350deaddc61e917de3dcb38262 15-Aug-2015 Emil Velikov <emil.l.velikov@gmail.com> freedreno: annotate the device/bo/pipe/ringbuffer funcs as const data

Cc: freedreno@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/freedreno/msm/msm_bo.c
15ba8768f7002d220002d424790ff2e89310c07f 17-Aug-2015 Rob Clark <robclark@freedesktop.org> freedreno: add fd_pipe_wait_timeout()

We need to pass through a timeout parameter to implement
pipe->fence_finish() properly.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/freedreno/msm/msm_bo.c
9e34ee4f75ef559ff3a3c6d4b8f285453eea1f29 21-Jul-2015 Rob Clark <robclark@freedesktop.org> freedreno/msm: fix issue where same bo is on multiple rings

It should be a less common case, but it is possible for a single bo to
be on multiple rings, for example when sharing a buffer across multiple
pipe_context's created from same pipe_screen.

So rather than completely fall over in this case, fallback to slow-path
of looping over all bo's in the ring's bo-table (but retain the fast-
path of constant-lookup for the first ring the buffer is on).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/freedreno/msm/msm_bo.c
ea1786416c58cb0896b640bad5a9e41e1baa4011 13-Jul-2015 Emil Velikov <emil.l.velikov@gmail.com> 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>
/external/libdrm/freedreno/msm/msm_bo.c
44e9a0258a4cab4a22fc44d1440ea882e3ad0334 23-Mar-2015 Emil Velikov <emil.l.velikov@gmail.com> freedreno: annotate the private symbols

They are less and easier to track than the public ones. The macro
drm_public will be going away by the end of the series.

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/freedreno/msm/msm_bo.c
c09dcbc736afb2e6a05d4cfc5c3d878ace43e2ba 28-Sep-2014 Rob Clark <robdclark@gmail.com> fix compile error on 32bit systems

4c2766b (drm_mmap/drm_unmap) brought this error for every .c file that
was not #including config.h:

In file included from private.h:4:0,
from abi16.c:29:
../libdrm.h: In function 'drm_munmap':
../libdrm.h:81:4: error: size of unnamed array is negative

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/libdrm/freedreno/msm/msm_bo.c
f17d417e28143176cb36b64e1b6a5818897e8154 21-Jul-2013 Rob Clark <robclark@freedesktop.org> freedreno: add support for msm drm

This adds support for the "msm" backend, using the upstream msm drm/kms
driver.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/freedreno/msm/msm_bo.c