Skip to content
Snippets Groups Projects

drm: Use DRM_FORMAT_MOD_LINEAR when no other format modifiers are present

Merged Guido Gunther requested to merge guido.gunther/wlroots:no-supertile into librem5-0.10.x

The absence of modifiers means "assume linear" not "don't use any modifier". This prevents gallium from using plain resource_create but rather resource_create_with_modifiers.

This unbreaks broken rendering on etnaviv as resource_create assumes it can supertile (which makes sense since e.g. dcss and ipuv3 can handle these formats). However lcdif/mxsfb can't handle this so be explicit about the modifier.

Weston does the same, see drm_plane_populate_formats().

Closes: mesa#4

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading