summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2020-05-15 07:19:24 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-05-21 12:46:51 -0400
commitfa63ed81705a1c280e049441f5e05a4c30ce9b11 (patch)
tree15e20eb1d422ed1cdce3bdcf632fdb9aa92d8f31 /drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
parent2a5195dca0b7058e65443416a20680be985d8753 (diff)
downloadlinux-fa63ed81705a1c280e049441f5e05a4c30ce9b11.tar.gz
linux-fa63ed81705a1c280e049441f5e05a4c30ce9b11.tar.bz2
linux-fa63ed81705a1c280e049441f5e05a4c30ce9b11.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
index 9a9764cbd78d..8f362e8c1787 100644
--- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
@@ -516,7 +516,7 @@ static const struct dc_plane_cap plane_cap = {
.pixel_format_support = {
.argb8888 = true,
.nv12 = false,
- .fp16 = false
+ .fp16 = true
},
.max_upscale_factor = {