]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2)
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 15 May 2020 05:19:24 +0000 (07:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:46:51 +0000 (12:46 -0400)
commit990076b196624bc9483b8bd3870ddff93a82092d
tree15e20eb1d422ed1cdce3bdcf632fdb9aa92d8f31
parent7d3df55e54c5817b3b7f615082c6f0a58d7952ff
drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2)

Testing on a Polaris11 gpu with DCE-11.2 suggests that it
seems to work fine there, so optimistically enable it for
DCE-11 and later.

v2: drop DCE 11.0 hunk.  Carrizo (DCE 11.0) has a HW bug where FP16
scaling doesn't work.  The upscale and downscale factors were
intended to block those FP16 cases and reject the commit but
nobody ever added those to atomic check.  Once those are added
to atomic check, this can be re-enabled.

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