drm/amd/pm: increase mclk switch threshold to 200 us
authorEvan Quan <evan.quan@amd.com>
Wed, 2 Sep 2020 08:10:10 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:51:53 +0000 (11:51 +0100)
commit5489db9d093fdcea1af0d151a5b176855d62f22c
tree51c55c10ce0194ca1f4a9f77931a0425c558c8b2
parent84493deabfd73f1d0200986ba9f4aab3d44b368b
drm/amd/pm: increase mclk switch threshold to 200 us

commit 83da6eea3af669ee0b1f1bc05ffd6150af984994 upstream.

To avoid underflow seen on Polaris10 with some 3440x1440
144Hz displays. As the threshold of 190 us cuts too close
to minVBlankTime of 192 us.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c