]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Convert tiling_flags to modifiers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 2 Sep 2020 16:57:45 +0000 (18:57 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 18:27:23 +0000 (14:27 -0400)
commit58d9a76268fc4f976785c88467a9fbac404b6aed
tree3bb85d65a0cb8f90743c16e24f92cb7c27f39ea4
parent533882ead244cd9676785d42527b78d0d1ab0c01
drm/amd/display: Convert tiling_flags to modifiers.

This way the modifier path gets exercised all the time, improving
testing. Furthermore, for modifiers this is required as getfb2
will always return the modifier if the driver sets allow_fb_modifiers.

This only triggers once allow_fb_modifiers is set.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c