Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MediaTek
aiot
linux
Commits
31faa959
Commit
31faa959
authored
2 months ago
by
Ariel D'Alessandro
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/gpu/drm/mediatek/mtk_plane.c
+0
-5
0 additions, 5 deletions
drivers/gpu/drm/mediatek/mtk_plane.c
with
0 additions
and
5 deletions
drivers/gpu/drm/mediatek/mtk_plane.c
+
0
−
5
View file @
31faa959
...
...
@@ -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
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment