mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
drm/tegra: Add conftest for fd/handle conversions
Add tests to the conftest script to check if the functions drm_gem_prime_fd_to_handle() and drm_gem_prime_handle_to_fd() are exported in the Linux kernel and use the definition generated by conftest for compiling the Tegra DRM driver. Bug 4346767 Change-Id: I56b76617bf4644a5851484dd7d4eecd3888f3b5b Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3015723 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
fc748158cc
commit
5615d9f984
3
Makefile
3
Makefile
@@ -64,9 +64,6 @@ subdir-ccflags-y += -DNV_DROP_PCIE_ERROR_REPORTING
|
||||
# Split types and declaration of net/page_pool.h
|
||||
subdir-ccflags-y += -DNV_SPLIT_PAGE_POOL_HEADER
|
||||
|
||||
# Unexport helpers for fd/handle conversion
|
||||
subdir-ccflags-y += -DNV_UNEXPORT_FD_HANDLE_CONVERSION
|
||||
|
||||
# FB Deferred IO helpers name alignment
|
||||
subdir-ccflags-y += -DNV_FB_DEFERRED_IO_OPS_RENAME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user