Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,882
    • Issues 2,882
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 924
    • Merge requests 924
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #950

Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

drm.h:50:9: error: unknown type name 'uint8_t'

Submitted by Vinson Lee (@vlee)

Link to original bug (#111666)

Description

In file included from ../src/gallium/state_trackers/dri/dri_helpers.c:24:
In file included from ../include/drm-uapi/drm_fourcc.h:27:
../include/drm-uapi/drm.h:50:9: error: unknown type name 'uint8_t'
typedef uint8_t  __u8;
        ^
../include/drm-uapi/drm.h:52:9: error: unknown type name 'uint16_t'
typedef uint16_t __u16;
        ^
../include/drm-uapi/drm.h:54:9: error: unknown type name 'uint32_t'
typedef uint32_t __u32;
        ^
../include/drm-uapi/drm.h:56:9: error: unknown type name 'uint64_t'
typedef uint64_t __u64;
        ^

272f9cfe is the first bad commit

commit 272f9cfe6a19212354c89dc443959473ac5d398e
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Aug 29 17:00:09 2019 -0700

    dri: Use DRM_FORMAT_* instead of defining our own copy.
    
    We have only two defines that aren't from DRM_FORMAT_*: SARGB and
    SABGR.  Keep only those as __DRI_IMAGE_FOURCC and garbage collect the
    rest.
    
    While this header is also used from the X server, the X server doesn't
    use any __DRI_IMAGE enums.
    
    Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
    Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Edited Sep 19, 2019 by Eric Engestrom
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking