- Aug 31, 2022
-
-
Simon Ser authored
Signed-off-by: Simon Ser <contact@emersion.fr>
-
Simon Ser authored
Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com>
-
Simon Ser authored
Same as drmGetFormatModifierName() but for formats. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com>
-
- Aug 30, 2022
-
-
Matt Roper authored
In commit 98794e2a ("lib: sync i915_pciids.h with kernel") we resynchronized the PCI header with the kernel to bring in the definitions for several new platforms. But before those IDs will be recognized, we still need to hook them up in the libdrm chipset code as well. References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416 Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
-
There is a Vivante GC1000 gpu in LS2K1000 and LS7A1000. LS7A1000 is a bridge chip made by Loongson corporation which act as north and/or south bridge of loongson's desktop and server level processor. It is equivalent to RS780E or something like that. In fact, the company use RS780E as bridge of LS3A3000 at its early stage, but as RS780E is out of stock long long time ago, the company have to made one by themself. More details can be read from its user manual[1]. This bridge chip typically use with LS3A3000, LS3A4000 and LS3A5000. LS3A3000 is 4 core 1.45gHz mips64r2 compatible cpu. LS3A4000 is 4 core 1.8gHz mips64r5 compatible cpu. LS3A5000 is 4 core 2.5gHz loongarch cpu, the company acclaim that loongarch a new archtecture with its instruction set is released[2]. LS2K1000 is a double core 1.0Ghz mips64r2 compatible SoC[3]. we need to enable it to test and developing driver on above listed archtecture. [1] https://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN.html [2] https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html [3] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000 Signed-off-by: Sui Jingfeng <15330273260@189.cn> [Eric: rebase over meson changes, add ARM & ARC architectures, and drop "experimental" from the description] Signed-off-by: Eric Engestrom <eric@engestrom.ch>
-
- Aug 23, 2022
-
-
Matt Turner authored
../intel/test_decode.c: In function ‘compare_batch’: ../intel/test_decode.c:109:39: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing] 109 | out = open_memstream((char **)&ptr, &size); | ^~~~ cc1: some warnings being treated as errors The fix is simple: just declare `ptr` as a `char *` to begin with.
-
According to the kernel documentation: Returns non-zero if @v was not @u, and zero otherwise. Fixes: 63fc5718 ("atomic: add atomic_add_unless()") Closes: mesa/drm#17 Signed-off-by: David Shao <davshao@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> [Eric: fix its callers to maintain current behaviour] Signed-off-by: Eric Engestrom <eric@engestrom.ch>
-
The 3rd parameter is only used with the O_CREAT flag Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
-
Eric Engestrom authored
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Simon Ser <contact@emersion.fr>
-
Eric Engestrom authored
Allows users to easily enable everything (eg. packagers), or select just the drivers they want with something like: -D auto-features=disabled -D amdgpu=enabled Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Simon Ser <contact@emersion.fr>
-
Eric Engestrom authored
Noticed-by: Michel Daenzer <michel@daenzer.net>
-
- Aug 22, 2022
-
-
Eric Engestrom authored
You can't have an error if your driver is requested by you're missing a dep, but then happily build that driver without the dep in `auto`. Signed-off-by: Eric Engestrom <eric@engestrom.ch>
-
Eric Engestrom authored
Reviewed-by: Simon Ser <contact@emersion.fr>
-
Eric Engestrom authored
-
Eric Engestrom authored
Reviewed-by: Simon Ser <contact@emersion.fr>
-
Eric Engestrom authored
Reviewed-by: Simon Ser <contact@emersion.fr>
-
- Aug 18, 2022
-
-
Building the project as a meson subproject, meson inherits the warning level from the parent project. Making the tests optional bypasses that issue and reduces build time. Signed-off-by: Simon Zeni <simon@bl4ckb0ne.ca> Reviewed-by: Simon Ser <contact@emersion.fr>
-
- Aug 15, 2022
-
-
Issue slow copy linear for sdma to trigger SDMA hang test. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
-
Issue corrupted header for sdma to trigger SDMA hang test. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
-
Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
-
Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
-
CE is not available in gfx11 Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Likun Gao <Likun.Gao@amd.com>
-
- Aug 03, 2022
-
-
Matt Roper authored
This synchronizes with kernel commit 7835303982d1 ("drm/i915/mtl: Add MeteorLake PCI IDs") to bring in the missing PCI IDs for several recent platforms. These days adding PCI IDs to libdrm doesn't really matter for real-world system usage. However there are still a few driver testing situations where they're needed (such as the IGT dma-buf tests that still rely on libdrm's bufmgr code). At some point we should probably break that final IGT dependency on libdrm so that these PCI ID resyncs won't be necessary anymore, but that hasn't happened yet. References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416 Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
-
- Jul 25, 2022
-
-
Stephan Lachnit authored
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
-
- Jul 22, 2022
-
-
Add an entry for the "simpledrm" driver, so that the test utilities work with the simpledrm driver without passing the -M argument. Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Eric Curtin <ecurtin@redhat.com>
-
- Jul 20, 2022
-
-
add unified queue headers on the existing tests. Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
-
From VCN4, AMDGPU_HW_IP_VCN_ENC is re-used to support both encoding and decoding jobs. Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
-
Enable vcn decode software ring test for version 4 and later. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
-
- Jul 18, 2022
-
-
Alex Deucher authored
Add new marketing names. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-
- Jul 06, 2022
-
-
Simon Ser authored
Signed-off-by: Simon Ser <contact@emersion.fr>
-
- Jul 02, 2022
-
-
Simon Ser authored
Nowadays, users don't really care about encoders except for retrieving the list of CRTCs compatible with a connector. Introduce a new function so that users no longer need to deal with encoders. This is a re-do of [1], but with a slightly different API. Signed-off-by: Simon Ser <contact@emersion.fr> [1]: mesa/drm!102
-
Simon Ser authored
Drop util_lookup_connector_type_name and use drmModeGetConnectorTypeName instead. Signed-off-by: Simon Ser <contact@emersion.fr>
-
Simon Ser authored
User-space often needs to print the name of a connector type. When a new connector type is added, all user-space programs need to be updated to support the new connector type. Expose a function to get a connector type name in libdrm. The names are taken from the kernel [1]. [1]: https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/drm_connector.c?h=4fc8cb47fcfdc93e274a1291757e478df4f9c39b#n83 Signed-off-by: Simon Ser <contact@emersion.fr>
-
- Jun 11, 2022
-
-
Add support for vcn encoder unit test Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
-
For VCN2.5 wrong index was chosen, fix it. Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
-
- Jun 09, 2022
-
-
Simon Ser authored
This acts as an additional ABI guarantee, and improves documentation for users. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
- Jun 08, 2022
-
-
Simon Ser authored
This is the only modifier printed with a "_MODIFIER" suffix. It looks inconsistent when callers already print this word (e.g. "modifier: INVALID_MODIFIER"). Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
-
- Jun 03, 2022
-
-
Dave Airlie authored
Signed-off-by: Dave Airlie <airlied@redhat.com>
-
- May 26, 2022
-
-
Guchun Chen authored
Use compute ring in case of no gfx ring. Signed-off-by: Guchun Chen <guchun.chen@amd.com>
-
- May 13, 2022
-
-
Alex Deucher authored
Add new marketing names Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-