tegra: Make API more consistent
authorThierry Reding <treding@nvidia.com>
Fri, 9 Jul 2021 18:13:12 +0000 (20:13 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Feb 2022 14:39:53 +0000 (15:39 +0100)
commit69fa0dd9400f22b285a13bd4e099936ed9dfe4b3
treef85229aec6fb0f1433442295ee0c439f9cd9f543
parentabe27b1757a59521336d26fe3b4df67f3f5d972f
tegra: Make API more consistent

Most functions in libdrm_tegra take as first parameter the object that
they operate on. Make the device and buffer object creation functions
follow the same scheme.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
tegra/tegra.c
tegra/tegra.h
tests/tegra/openclose.c