summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2019-07-26 10:51:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:37:42 -0500
commita31b059b0385dae98e95d6074950c5d47de34661 (patch)
tree8c1c203a1f99c8adcd9481bdff33daee59297888 /samples
parent9f21e9ee7f2ffc64a2f0f1f821fb22ded9d18761 (diff)
downloadlinux-stable-a31b059b0385dae98e95d6074950c5d47de34661.tar.gz
linux-stable-a31b059b0385dae98e95d6074950c5d47de34661.tar.bz2
linux-stable-a31b059b0385dae98e95d6074950c5d47de34661.zip
drm/amd/powerplay: fix checking gfxoff status for rn
For renoir, it should use mmSMUIO_GFX_MISC_CNTL to check gfxoff status. For the first time to enter gfxoff status, it maybe takes about one second more. So just set the max timeout to 5s. GFXOFF_STATUS(bits 2:1)'s description is below: 0=GFXOFF(default). 1=Transition out of GFX State. 2=Not in GFXOFF. 3=Transition into GFXOFF. Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Aaron Liu <aaron.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions