]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Check plane scaling against format specific hw plane caps.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Mon, 28 Dec 2020 18:50:58 +0000 (19:50 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:35:15 +0000 (11:35 -0500)
commit74e20256485f69f1013628a7bed5c05c18fd4d04
treeafb6cc4c9023198dace1568c0dd65d8f29e943b0
parent95766adf5841a7144d7207cbc6b4e9bd5b0aab28
drm/amd/display: Check plane scaling against format specific hw plane caps.

This takes hw constraints specific to pixel formats into account,
e.g., the inability of older hw to scale fp16 format framebuffers.

It should now allow safely to enable fp16 formats also on DCE-8,
DCE-10, DCE-11.0

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c