]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't warn when DC update type > DM guess
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 29 Mar 2019 15:40:43 +0000 (11:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2019 05:21:45 +0000 (00:21 -0500)
commit83a17ddb66df6d3fbbf2e942ebb760d40ffe933e
treead07f3e298891a30603ba9b37fb437e3c5e3d303
parentcc7f29f9bfcac886a9e5f7b5a00efdf96fb0f604
drm/amd/display: Don't warn when DC update type > DM guess

[Why]
DM thinks that the update type should be full whenever a stream or
plane is added or removed (including recreations).

This won't match in the case where DC thinks what looks like a fast
update to DM is actually a medium or full - like scaling changes that
affect bandwidth and clocks.

[How]
Drop this warning. DC knows better than the DM does for determining
cases like this.

The other warning can be kept for now since it would warn on a pretty
serious DC or DM bug.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c