dnl # dnl # commit f98828769c88 dnl # drm: Pass 'name' to drm_crtc_init_with_planes() dnl # AC_DEFUN([AC_AMDGPU_DRM_CRTC_INIT_WITH_PLANES_VALID_WITH_NAME], [AC_MSG_CHECKING([whether drm_crtc_init_with_planes() wants name]) AC_KERNEL_TRY_COMPILE([ #include ],[ int error; error = drm_crtc_init_with_planes(NULL, NULL, NULL, NULL, NULL, NULL); ],[ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_DRM_CRTC_INIT_WITH_PLANES_VALID_WITH_NAME, 1, [drm_crtc_init_with_planes() wants name]) ],[ AC_MSG_RESULT(no) ]) ])