Hello, I am trying to build some drivers under CentOS 8.3 using scripts which work on CentOS 8.2. However, I am now missing the include file drm/drmP.h. Please can you tell me where I can find this file. Mark -- This email has been checked for viruses by AVG. https://www.avg.com
Did you try this: yum whatprovides */drmP.h On 4/19/2021 8:28 AM, Mark Woolfson wrote:> Hello, > > > > I am trying to build some drivers under CentOS 8.3 using scripts which work > on CentOS 8.2. > > > > However, I am now missing the include file drm/drmP.h. > > > > Please can you tell me where I can find this file. > > > > Mark > > > > >-- Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309 Naval Research Laboratory W: (228) 688-5738 <- (Preferred contact) DSN: (312) 823-5738 C: (228) 365-0162
On Mon, Apr 19, 2021 at 02:28:19PM +0100, Mark Woolfson wrote:> I am trying to build some drivers under CentOS 8.3 using scripts which work > on CentOS 8.2. > > However, I am now missing the include file drm/drmP.h. > > Please can you tell me where I can find this file.I believe drm/drmP.h was removed from the kernel in the v5.5-ish era, so I suspect that part of the kernel must have been backported to the CentOS 8.3 kernels. You'll need to update your code to use the new drm subsystem. I believe the nvidia drivers had to do this too. -- Jonathan Billings <billings at negate.org>