drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD
authorAkshu Agrawal <akshu.agrawal@amd.com>
Mon, 24 Sep 2018 10:18:02 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:22:12 +0000 (09:22 +0100)
commit13b3707bafea4857df5f55c3018e08015174000e
tree63a2c390225685db894698a3b8e346e216fdc1c7
parent1cca6c472fcc9e707872c12699f39473dfc3c2d5
drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD

commit 51ef434a15b450bfbef1e06cc87ee4e98a224486 upstream.

We observe black lines (underflow) on display when playing a
4K video with UVD. On Disabling Low memory P state this issue is
not seen.
Multiple runs of power measurement shows no imapct.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Satyajit Sahu <satyajit.sahu@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/smu8_hwmgr.c