drm_info icon indicating copy to clipboard operation
drm_info copied to clipboard

Add support for GENERIC modifiers

Open emersion opened this issue 4 years ago • 0 comments

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:
      |  ^~~~

emersion avatar Jan 10 '21 11:01 emersion