- Jul 02, 2022
-
-
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>
-
- May 09, 2022
-
-
Eleni Maria Stea authored
Replaced the type PRId64 with PRIu64 in a printf as the argument was unsigned to fix the related compiler warning. Signed-off-by:
Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by:
Simon Ser <contact@emersion.fr>
-
Eleni Maria Stea authored
It seems that __u64 values are defined differently across systems. In glibc it's defined as unsigned long, in Linux kernel headers (int-ll64.h) as unsigned long long, and on FreeBSD as uint64_t so it matches glibc. A temporal solution is to cast all __u64 values to uint64_t to avoid warnings on Linux, but ideally we'd like a better fix in the future. See also: mesa/drm!212 for discussion. Signed-off-by:
Eleni Maria Stea <elene.mst@gmail.com>
-
Eleni Maria Stea authored
Moved declaration to the top to resolve C99 compliance warning. Signed-off-by:
Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by:
Simon Ser <contact@emersion.fr>
-
- May 03, 2022
-
-
Karol Herbst authored
v2: explicitly set nr_push to 0 as well Signed-off-by:
Karol Herbst <kherbst@redhat.com>
-
- Apr 21, 2022
-
-
Add RPLP platform support and PCIIDs Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by:
Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> Signed-off-by:
Raviteja Goud Talla <ravitejax.goud.talla@intel.com>
-
- Apr 19, 2022
-
-
Matt Turner authored
Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
- Apr 15, 2022
-
-
Daniel Stone authored
libkms was a very early attempt at a KMS management library, that only got as far as handling requests to create buffers. It has since been superseded by GBM in doing this, which everyone uses, unlike libkms which no-one uses. Remove it from the tree to avoid any confusion. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
- Mar 30, 2022
-
-
fcui authored
Signed-off-by:
Flora Cui <flora.cui@amd.com>
-
fcui authored
Signed-off-by:
Flora Cui <flora.cui@amd.com>
-
- Mar 09, 2022
-
-
- Mar 02, 2022
-
-
Alex Deucher authored
Add new marketing names Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Switch the logic to only disable the tests for asics which don't have GPU reset support. This way we don't need to update it every time we add a new asic which does support it. Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- Mar 01, 2022
-
-
Andrey Grodzovsky authored
I tested with latest amd-staging-drm-next and after minor fix for me all the testys pass. I bumped libdrm minor version for this. Signed-off-by:
Andrey Grodzovsky <andrey.grodzovsky@amd.com>
-
- Feb 23, 2022
-
-
Thierry Reding authored
This test will attempt to use the VIC to blit one surface to another and perform a vertical flip. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This test will attempt to use the VIC to blit from one surface to another. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This test will attempt to use VIC to clear a surface. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The Video Image Composer (VIC) 4.2 can be found on NVIDIA Tegra194 SoCs. It uses a different class (C5B6) that is slightly incompatible with the class found on earlier generations, although it is backwards compatible with the class implemented on Tegra186 (B1B6). Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The Video Image Composer (VIC) 4.1 can be found on NVIDIA Tegra186 SoCs. It uses a different class (B1B6) that is slightly incompatible with the class found on earlier generations. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The Video Image Composer (VIC) 4.0 can be found on NVIDIA Tegra210 SoCs. It uses a different class (B0B6) that is slightly incompatible with the class found on earlier generations. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The Video Image Composer (VIC) 3.0 can be found on NVIDIA Tegra124 SoCs. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
Implement a small abstraction interface to allow different versions of VIC to be used transparently. An implementation will be chosen based on the VIC version number reported by the DRM_TEGRA_IOCTL_OPEN_CHANNEL IOCTL. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This test can be used to purposefully trigger a job timeout. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This is a very simple sanity test to check whether or not a syncpt can be incremented by a host1x client. This uses gr2d on Tegra20 through Tegra114 and VIC on Tegra124 and later. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This test uses the IOCTLs for job submission and fences to fill a sub- region of the screen to a specific color using gr2d. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This library provides helpers for common functionality needed by test programs. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
These new functions can be used to allocate and free syncpoints, as well as wait for a syncpoint threshold to be reached. Jobs can also be waited on if a syncpoint was attached to them. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
These new functions can be used to create a job on a given channel, add commands to the job using its push buffer and submit the job. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
These new functions can be used to open a channel to a given engine, map and unmap buffer objects to that channel, and close the channel. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This makes sure that the proper dependencies are created and that the file is distributed. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This new UABI is a more modern version that works better with both old and recent chips. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
Allow this simple test to be installed so that it can easily be run on a target device. Reviewed-by:
Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-