summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
diff options
context:
space:
mode:
authorEric Yang2018-09-14 21:55:01 +0200
committerAlex Deucher2018-10-10 00:02:15 +0200
commite15fc81f11854451ec8a8ed9168b8247e4e9a10b (patch)
tree9207686487492e9bd5d8b69ab1607ce7ed2ac24f /drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
parentdrm/amd/display: block DP YCbCr420 modes (diff)
downloadkernel-qcow2-linux-e15fc81f11854451ec8a8ed9168b8247e4e9a10b.tar.gz
kernel-qcow2-linux-e15fc81f11854451ec8a8ed9168b8247e4e9a10b.tar.xz
kernel-qcow2-linux-e15fc81f11854451ec8a8ed9168b8247e4e9a10b.zip
drm/amd/display: clean up encoding checks
[Why] All ASICS we support has YCbCr support, so the check is unnecessary, the currently logic in validate output also returns true all the time, so the unneccessary logic is removed Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
index b1cc38827f09..5b75460525ac 100644
--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
@@ -551,8 +551,7 @@ static const struct encoder_feature_support link_enc_feature = {
.max_hdmi_deep_color = COLOR_DEPTH_121212,
.max_hdmi_pixel_clock = 300000,
.flags.bits.IS_HBR2_CAPABLE = true,
- .flags.bits.IS_TPS3_CAPABLE = true,
- .flags.bits.IS_YCBCR_CAPABLE = true
+ .flags.bits.IS_TPS3_CAPABLE = true
};
struct link_encoder *dce100_link_encoder_create(