]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Set DC options from modifiers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 8 Jun 2020 11:46:06 +0000 (13:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 18:27:23 +0000 (14:27 -0400)
commit80a401c88fb22dab9dd154cda2416bd3aa27ad8c
tree5b5481e8491fb7ffc1daa4970d1776f9f8a0c256
parent01877ecfa98a58c7d562c3fe6823b92a0e8450d8
drm/amd/display: Set DC options from modifiers.

This sets the DC tiling options from the modifier, if modifiers
are used for the FB. This patch by itself does not expose the
support yet though.

There is not much validation yet to limit the scope of this
patch, but the current validation is at the same level as
the BO metadata path.

v2: Add modifier check to should_reset_plane.

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/display/amdgpu_dm/amdgpu_dm.c