OSDN Git Service

drm/amd/display: add workaround for 4k video underflow
authorEric Yang <Eric.Yang2@amd.com>
Mon, 17 Dec 2018 23:28:59 +0000 (18:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:41:47 +0000 (15:41 -0500)
commit0f0c1924339670e9b34bbe03c181d88a8ad57e74
treecf168984e02dea0ca1e8cad2bca2096013c0d4ec
parent9983b80053e4fd3d5dea7b936aa933edd49924ce
drm/amd/display: add workaround for 4k video underflow

[Why]
On DCN1, there is an issue where on high BW config on single channel
systems, underflow will be observed if DCC is disabled. This issue
can be observed on several use cases. For this particular case,
it is observed when playing 4k video on 4k desktop with video downscaled
to a certain size.

[How]
Block MPO for this particular case, this will prevent extra BW consumed
from downscaling, working around the underflow.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c