Attempting to build 440.44 on kernel v5.5-rc1, and I encounter this error when I try to compile the nvidia kernel module:

2019/12/12 10:42:25 akmodsbuild: cc -Wp,-MD,/tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm/.nvidia-drm-drv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL_ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -I/tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/common/inc -I/tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64 -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL -DMODULE -DNVRM -DNV_VERSION_STRING=“440.44” -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/_kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm -UDEBUG -U_DEBUG -DNDEBUG -DNV_BUILD_MODULE_INSTANCES=0 -DMODULE -DKBUILD_BASENAME=’“nvidia_drm_drv”’ -DKBUILD_MODNAME=’“nvidia_drm”’ -c -o /tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/_kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm/nvidia-drm-drv.o /tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/_kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm/nvidia-drm-drv.c

2019/12/12 10:42:25 akmodsbuild: In file included from /tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/_kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm/nvidia-drm-drv.c:27:

2019/12/12 10:42:25 akmodsbuild: /tmp/akmodsbuild.oEW9Rb7x/BUILD/nvidia-kmod-440.44/_kmod_build_5.5.0-0.rc1.git1.1.kafsfix.fc31.x86_64/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory

2019/12/12 10:42:25 akmodsbuild: 30 | #include <drm/drmP.h>

2019/12/12 10:42:25 akmodsbuild: | ^~~~~~~~~~~~

2019/12/12 10:42:25 akmodsbuild: compilation terminated.

It appears that drm/drmP.h was removed in this commit: https://github.com/torvalds/linux/commit/4e98f871bcffa322850c73d22c66bbd7af2a0374

It looks like the nvidia-drm-fb.h needs to include the appropriate drm/ headers and remove the reference to drmP.h.