summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/v3d
AgeCommit message (Collapse)AuthorFilesLines
2021-04-29v3d: rename header include guardsJuan A. Suarez Romero1-3/+3
Long time ago VC5 was renamed to V3D, but the include guards `VC5_FOO_H` were not. In order to keep consistency, let's rename these guards from `VC5_FOO_H` to `V3D_FOO_H`. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10402>
2020-11-24meson: add idep_mesautil to components using simple_mtx.hMark Janes1-0/+1
If valgrind is installed, these components need to find valgrind.h. Fixes: 53f7d539cd9 ("util: Add helgrind support for simple_mtx") Closes: #3876 Acked-by: Rob Clark <robclark@freedesktop.org>
2020-06-18replace all F_DUPFD_CLOEXEC with os_dupfd_cloexec()Eric Engestrom1-1/+3
All squashed into a single commit because it shouldn't have any behaviour change, except that it might work now on platforms where it was broken because F_DUPFD_CLOEXEC is not supported but FD_CLOEXEC is. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5369>
2020-06-01meson: use gnu_symbol_visibility argumentDylan Baker1-1/+1
This uses a meson builtin to handle -fvisibility=hidden. This is nice because we don't need to track which languages are used, if C++ is suddenly added meson just does the right thing. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
2019-05-13v3d: Use driconf to expose non-MSAA texture limits for Xorg.Eric Anholt2-6/+10
The V3D 4.2 HW has a limit to MSAA texture sizes of 4096. With non-MSAA, we can go up to 7680 (actually probably 8138, but that hasn't been validated by the HW team). Exposing 7680 in X11 will allow dual 4k displays.
2019-04-15Delete autotoolsDylan Baker1-33/+0
Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Matt Turner <mattst88@gmail.com>
2019-01-16v3d: Don't leak the GPU fd for renderonly usage.Eric Anholt1-1/+1
The CTS was running out of fds, because of the ro->gpu_fd never being closed. ro->gpu_fd should match the screen (in case the caller of v3d_drm_screen_create_renderonly() has a scanout_for_resource() that uses gpu_fd) and the screen is expected to close its fd at the end, fixing the resource leak. Fixes: e113b21cb779 ("v3d: Add renderonly support.")
2018-11-27v3d: Add renderonly support.Eric Anholt2-1/+9
I've been using this with the kmsro series to test v3d on VKMS without my old KMS hack in the v3d kernel driver. KMSRO still needs some cleanup, but v3d RO support seems reasonable.
2018-05-16v3d: Rename the driver files from "vc5" to "v3d".Eric Anholt6-0/+164