Commit fa63ed81 authored by Mario Kleiner's avatar Mario Kleiner Committed by Alex Deucher

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: default avatarMario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2a5195dc
...@@ -411,7 +411,7 @@ static const struct dc_plane_cap plane_cap = { ...@@ -411,7 +411,7 @@ static const struct dc_plane_cap plane_cap = {
.pixel_format_support = { .pixel_format_support = {
.argb8888 = true, .argb8888 = true,
.nv12 = false, .nv12 = false,
.fp16 = false .fp16 = true
}, },
.max_upscale_factor = { .max_upscale_factor = {
......
...@@ -516,7 +516,7 @@ static const struct dc_plane_cap plane_cap = { ...@@ -516,7 +516,7 @@ static const struct dc_plane_cap plane_cap = {
.pixel_format_support = { .pixel_format_support = {
.argb8888 = true, .argb8888 = true,
.nv12 = false, .nv12 = false,
.fp16 = false .fp16 = true
}, },
.max_upscale_factor = { .max_upscale_factor = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment