OSDN Git Service

drm/amd/display: remove spam DSC log
authorWenjing Liu <Wenjing.Liu@amd.com>
Wed, 13 Nov 2019 20:59:51 +0000 (15:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:31:44 +0000 (16:31 -0500)
commitc5e53707e2606dda260b27f5ded637f1f851a659
tree1f02e2c4d3da32635ca82ba2f2d2c4b217031138
parentdcd65857a7815ef94735f73d01e0d0d7e1ff2090
drm/amd/display: remove spam DSC log

[why]
add_dsc_to_stream_resource could be called for validation.
Failing validation is completely fine.
However failing it inside commit streams is bad.
This code could be triggered for both contexts.
The function itself cannot distinguish the caller, which
makes it impossible to output the log only in the
meaningful case (commit streams).

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@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/dcn20/dcn20_resource.c