Skip to content

hk: Fix DRM modifier selection for compressed surfaces

Asahi Lina requested to merge asahilina/mesa:hk-fix-compression-modifier into main

What does this MR do and why?

hk: Fix DRM modifier selection for compressed surfaces

We have to reject DRM_FORMAT_MOD_APPLE_TWIDDLED_COMPRESSED for surfaces
which are too small. Since the modifier is for all planes, that means
that for multiplane images we need to test all planes for compression
support.

Signed-off-by: Asahi Lina <lina@asahilina.net>

Merge request reports

Loading