[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994411: marked as done (error: ‘DRM_IOCTL_I915_GEM_MMAP_OFFSET’ undeclared)



Your message dated Wed, 08 Nov 2023 16:33:44 +0100
with message-id <6541022.USpHSMS00B@bagend>
and subject line Re: error: ‘DRM_IOCTL_I915_GEM_MMAP_OFFSET’ un declared
has caused the Debian Bug report #994411,
regarding error: ‘DRM_IOCTL_I915_GEM_MMAP_OFFSET’ undeclared
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
994411: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994411
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---

Package: libdrm-dev

Version: 2.4.104-1

 

When I'm using 'DRM_IOCTL_I915_GEM_MMAP_OFFSET' literal in a C program, I get an error message: 'DRM_IOCTL_I915_GEM_MMAP_OFFSET' undeclared.

Here is a transcript:

 

root@debian:~# gcc -xc -S -o - - << EOF

#include <libdrm/drm.h>

#include <libdrm/i915_drm.h>

int main(void) {

  int code = 0;

  switch (code) {

  case DRM_IOCTL_I915_GEM_MMAP:

  case DRM_IOCTL_I915_GEM_MMAP_GTT:

  case DRM_IOCTL_I915_GEM_MMAP_OFFSET:

    break;

  }

  return 0;

}

EOF

        .file   ""

<stdin>: In function ‘main’:

<stdin>:8:8: error: ‘DRM_IOCTL_I915_GEM_MMAP_OFFSET’ undeclared (first use in this function); did you mean ‘DRM_IOCTL_I915_GEM_MMAP_GTT’?

<stdin>:8:8: note: each undeclared identifier is reported only once for each function it appears in

root@debian:~#

 

I suggest that 'i915_drm.h' uapi header file be corrected.

 

I am using Debian GNU/Linux 11.0, kernel 5.10.46-4 and libc6 2.31.

 


--- End Message ---
--- Begin Message ---
Version: 2.4.114-1

On Wed, 15 Sep 2021 17:59:52 +0000 Marin Damian 
<marin.damian@hensoldtcanada.com> wrote:
> Package: libdrm-dev
> Version: 2.4.104-1
> 
> When I'm using 'DRM_IOCTL_I915_GEM_MMAP_OFFSET' literal in a C program, I
> get an error message: 'DRM_IOCTL_I915_GEM_MMAP_OFFSET' undeclared.
> 
> I suggest that 'i915_drm.h' uapi header file be corrected.

It was added in upstream commit e0df5fce890c8f70ccd72a3e7260aa8f5dd842d8 and 
included in Debian with version 2.4.114-1, so closing with that version.

If you feel that's incorrect, please reopen and state in which version the bug 
is still present.

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: