diff options
author | Rob Clark <robclark@freedesktop.org> | 2014-02-28 10:02:59 -0500 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2014-03-05 10:35:41 -0500 |
commit | ee8c9a1383d4a50871e146ade2fe15b25f3377d4 (patch) | |
tree | 2efbd28a6fa37bf6a5812a8fce9f264f6c39bbcb /tests/drmstat.c | |
parent | cd1996470aa62116183485c5a3bf5754d69e3457 (diff) |
freedreno/kgsl: don't even bother trying CREATE_FD
Don't even bother trying DRM_KGSL_GEM_CREATE_FD. It hasn't worked since
(afaict) 2.6.35 kernels. And in some cases seems to cause some
problems. Instead just allocate a minimum size dummy object (just for
purposes of having a handle) and then mmap the framebuffer as user-mem
(which is deprecated, but seems to still work.. and as far as I can tell
is the best option for now).
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'tests/drmstat.c')
0 files changed, 0 insertions, 0 deletions