-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdkcl: test whether drm_dev_fini() is available
introduced by v4.10-rc5-1045-gf30c92576af4 This patch is caused by 'drm/amdgpu: Embed drm_device into amdgpu_device (v2) Signed-off-by: Yang Xiong <Yang.Xiong@amd.com> Reviewed-by: Flora Cui <flora.cui@amd.com> Change-Id: Ib8acd97b59d0313cf0a93ec1c0643315e9a37cc1
- Loading branch information
Yang Xiong
authored and
Yang Xiong
committed
Sep 3, 2020
1 parent
73c1d68
commit d430036
Showing
6 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#dnl | ||
#dnl v4.10-rc5-1045-gf30c92576af4 | ||
#dnl drm: Provide a driver hook for drm_dev_release() | ||
#dnl | ||
AC_DEFUN([AC_AMDGPU_DRM_DRIVER_RELEASE], [ | ||
AC_KERNEL_DO_BACKGROUND([ | ||
AC_KERNEL_CHECK_SYMBOL_EXPORT( | ||
[drm_dev_fini], | ||
[drivers/gpu/drm/drm_drv.c], | ||
[AC_DEFINE(HAVE_DRM_DRIVER_RELEASE, 1, | ||
[drm_dev_fini() is available])] | ||
) | ||
]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters