Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.
This repository was archived by the owner on May 15, 2023. It is now read-only.

Add support for GENERIC modifiers #68

@emersion

Description

@emersion

Latest drm_fourcc.h has:

#define DRM_FORMAT_MOD_GENERIC_16_16_TILE DRM_FORMAT_MOD_SAMSUNG_16_16_TILE

We can't just include GENERIC in our list of vendors, because that fails with:

tables.c: In function ‘basic_modifier_str’:
tables.c:249:2: error: duplicate case value
  249 |  case DRM_FORMAT_MOD_SAMSUNG_16_16_TILE:
      |  ^~~~
tables.c:241:2: note: previously used here
  241 |  case DRM_FORMAT_MOD_GENERIC_16_16_TILE:
      |  ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions