aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/legacy.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-16 20:18:06 +0100
committerSimon Ser <contact@emersion.fr>2021-01-17 10:27:46 +0100
commitbf86110fc5615bfd1af46e95cf81ac720ecac307 (patch)
tree84da16f5bbea54894457ac0bf62c4116a540bea3 /backend/drm/legacy.c
parentb5cefada922c09a06a57ed82e72fdab0b8f4479f (diff)
render/gbm_allocator: set modifier to INVALID if implicit
When gbm_bo_create is used and the GBM implementation does support modifiers, gbm_bo_get_modifier may return something other than DRM_FORMAT_MOD_INVALID. This can cause issues with the rest of the stack (e.g. EGL or KMS) in case these don't support modifiers. Instead, force the modifier to INVALID, to make sure no one uses modifiers.
Diffstat (limited to 'backend/drm/legacy.c')
0 files changed, 0 insertions, 0 deletions