Skip to content
Snippets Groups Projects
Commit 31faa959 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro
Browse files

Revert "HACK: MTK: Disable AFBC support"

This reverts commit 8f40003a.
parent 64e53554
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,9 @@
static const u64 modifiers[] = {
DRM_FORMAT_MOD_LINEAR,
/* HACK disable AFBC support for now
DRM_FORMAT_MOD_ARM_AFBC(AFBC_FORMAT_MOD_BLOCK_SIZE_32x8 |
AFBC_FORMAT_MOD_SPLIT |
AFBC_FORMAT_MOD_SPARSE),
*/
DRM_FORMAT_MOD_INVALID,
};
......@@ -76,9 +74,6 @@ static bool mtk_plane_format_mod_supported(struct drm_plane *plane,
if (modifier == DRM_FORMAT_MOD_LINEAR)
return true;
/* HACK: Disable AFBC support for all planes */
return false;
if (modifier != DRM_FORMAT_MOD_ARM_AFBC(
AFBC_FORMAT_MOD_BLOCK_SIZE_32x8 |
AFBC_FORMAT_MOD_SPLIT |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment